Skip to content

Commit

Permalink
Revert part of 377bb4b
Browse files Browse the repository at this point in the history
  • Loading branch information
PunkPun authored and Mailaender committed May 11, 2024
1 parent cbcd413 commit 2af417b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
14 changes: 13 additions & 1 deletion mods/cnc/chrome/editor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,6 @@ Container@EDITOR_WORLD_ROOT:
Y: 0
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
#Background: scrollpanel-bg
Children:
Label@AREA_EDIT_TITLE:
X: 6
Expand Down Expand Up @@ -1001,3 +1000,16 @@ ScrollPanel@CATEGORY_FILTER_PANEL:
Width: PARENT_RIGHT - 29
Height: 20
Visible: false

ScrollPanel@OVERLAY_PANEL:
Width: 140
Height: 80
ItemSpacing: 5
TopBottomSpacing: 0
Children:
Checkbox@CATEGORY_TEMPLATE:
X: 5
Y: 5
Width: PARENT_RIGHT - 29
Height: 20
Visible: false
23 changes: 23 additions & 0 deletions mods/cnc/chrome/tooltips.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,29 @@ Background@BUTTON_TOOLTIP_FACTIONSUFFIX:
Font: TinyBold
VAlign: Top

Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP:
Logic: ButtonTooltipLogic
Background: panel-black
Height: 26
Children:
Label@LABEL:
X: 5
Y: 1
Height: 23
Font: Bold
Label@HOTKEY:
Y: 1
Visible: false
TextColor: FFFF00
Height: 23
Font: Bold
LabelWithHighlight@DESC:
X: 5
Y: 26
Height: 12
Font: TinyBold
VAlign: Top

Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP_FACTIONSUFFIX:
Logic: ButtonTooltipLogic, AddFactionSuffixLogic
Background: panel-black
Expand Down

0 comments on commit 2af417b

Please sign in to comment.