Replace labels on Map Editor (copy, paste, undo, redo) buttons by glyphs

Icons are from https://github.com/twbs/icons
This commit is contained in:
xan2622
2026-01-18 14:28:01 +01:00
committed by Gustas Kažukauskas
parent e48a77b67a
commit 78873b8e00
20 changed files with 138 additions and 104 deletions

View File

@@ -259,16 +259,16 @@ Container@EDITOR_WORLD_ROOT:
MenuButton@OPTIONS_BUTTON:
Logic: MenuButtonsChromeLogic
Key: escape
X: WINDOW_WIDTH - 294 - WIDTH
Y: 5
Width: 30
X: 0
Y: 0
Width: 50
Height: 25
TooltipText: button-editor-world-root-options-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image:
X: 7
Y: 5
X: 17
Y: 4
ImageCollection: order-icons
ImageName: options
Background@TOOLS_BG:
@@ -785,67 +785,85 @@ Container@EDITOR_WORLD_ROOT:
Y: 5
ImageCollection: editor
ImageName: history
Button@UNDO_BUTTON:
X: WINDOW_WIDTH - 764
Y: 5
Height: 25
Width: 100
Text: button-editor-world-root-undo.label
Font: Bold
Key: EditorUndo
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-editor-world-root-undo.tooltip
TooltipContainer: TOOLTIP_CONTAINER
Button@REDO_BUTTON:
X: WINDOW_WIDTH - 654
Y: 5
Height: 25
Width: 100
Text: button-editor-world-root-redo.label
Font: Bold
Key: EditorRedo
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-editor-world-root-redo.tooltip
TooltipContainer: TOOLTIP_CONTAINER
Button@COPY_BUTTON:
X: WINDOW_WIDTH - 544
Y: 5
X: 50
Y: 0
Width: 50
Height: 25
Width: 100
Text: button-editor-world-root-copy.label
Font: Bold
Key: EditorCopy
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-editor-world-root-copy.tooltip
TooltipText: button-editor-world-root-copy-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 17
Y: 4
ImageCollection: editor
ImageName: copy
Button@PASTE_BUTTON:
X: WINDOW_WIDTH - 434
Y: 5
X: 100
Y: 0
Width: 50
Height: 25
Width: 100
Text: button-editor-world-root-paste.label
Font: Bold
Key: EditorPaste
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-editor-world-root-paste.tooltip
TooltipText: button-editor-world-root-paste-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 17
Y: 4
ImageCollection: editor
ImageName: paste
Button@UNDO_BUTTON:
X: 150
Y: 0
Width: 50
Height: 25
Key: EditorUndo
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-editor-world-root-undo-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 17
Y: 4
ImageCollection: editor
ImageName: undo
Button@REDO_BUTTON:
X: 200
Y: 0
Width: 50
Height: 25
Key: EditorRedo
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-editor-world-root-redo-tooltip
TooltipContainer: TOOLTIP_CONTAINER
Children:
Image@ICON:
X: 17
Y: 4
ImageCollection: editor
ImageName: redo
DropDownButton@OVERLAY_BUTTON:
X: WINDOW_WIDTH - 914
Y: 5
X: 250
Y: 0
Width: 140
Height: 25
Text: dropdownbutton-editor-world-root-overlay-button
Font: Bold
Label@COORDINATE_LABEL:
X: 10
Width: 50
X: 400
Y: 0
Width: 100
Height: 25
Align: Left
Font: Bold
Contrast: true
Label@CASH_LABEL:
X: 125
Width: 50
X: 505
Y: 0
Width: 100
Height: 25
Align: Left
Font: Bold