Fix multi-line tooltip padding.

This commit is contained in:
Paul Chote
2016-03-12 15:27:19 +00:00
parent c32bf9f8f7
commit dbe55eedaf
7 changed files with 43 additions and 73 deletions

View File

@@ -315,7 +315,7 @@ Container@EDITOR_WORLD_ROOT:
Visible: false
Width: PARENT_RIGHT - 35
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: TWO_LINE_TOOLTIP
TooltipTemplate: SIMPLE_TOOLTIP
IgnoreChildMouseOver: true
Children:
ActorPreview@ACTOR_PREVIEW:

View File

@@ -3,23 +3,12 @@ Background@SIMPLE_TOOLTIP:
Background: panel-black
Height: 27
Children:
Container@LINE_HEIGHT:
Y: 2
Height: 19
Label@LABEL:
X: 5
Height: 23
Font: Bold
Background@TWO_LINE_TOOLTIP:
Logic: ButtonTooltipLogic
Background: panel-black
Height: 48
Children:
Label@LABEL:
X: 5
Height: 46
Font: Bold
Label@HOTKEY:
Visible: false
TextColor: FFFF00
Y: 0-2
Height: 23
Font: Bold

View File

@@ -3,29 +3,15 @@ Background@SIMPLE_TOOLTIP:
Background: dialog3
Height: 34
Children:
Container@LINE_HEIGHT:
Y: 5
Height: 19
Label@LABEL:
X: 5
Y: 3
Y: 0-2
Height: 23
Font: Bold
Background@TWO_LINE_TOOLTIP:
Logic: ButtonTooltipLogic
Background: dialog3
Height: 54
Children:
Label@LABEL:
X: 5
Y: 3
Height: 46
Font: Bold
Label@HOTKEY:
Visible: false
Y: 3
Height: 23
TextColor: FFFF00
Font: Bold
Background@BUTTON_TOOLTIP:
Logic: ButtonTooltipLogic
Background: dialog3

View File

@@ -294,7 +294,7 @@ Container@EDITOR_WORLD_ROOT:
Visible: false
Width: PARENT_RIGHT - 35
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: TWO_LINE_TOOLTIP
TooltipTemplate: SIMPLE_TOOLTIP
IgnoreChildMouseOver: true
Children:
ActorPreview@ACTOR_PREVIEW:

View File

@@ -3,29 +3,15 @@ Background@SIMPLE_TOOLTIP:
Background: dialog4
Height: 32
Children:
Container@LINE_HEIGHT:
Y: 3
Height: 19
Label@LABEL:
X: 7
Y: 2
Y: 0-1
Height: 23
Font: Bold
Background@TWO_LINE_TOOLTIP:
Logic: ButtonTooltipLogic
Background: dialog4
Height: 52
Children:
Label@LABEL:
X: 7
Y: 2
Height: 46
Font: Bold
Label@HOTKEY:
Visible: false
Y: 2
Height: 23
TextColor: FFFF00
Font: Bold
Background@BUTTON_TOOLTIP:
Logic: ButtonTooltipLogic
Background: dialog4