Add tooltips to overflowing labels

This commit is contained in:
Ivaylo Draganov
2019-05-25 22:21:06 +03:00
committed by abcdefg30
parent 1fee50be2e
commit fde215360c
23 changed files with 91 additions and 30 deletions

View File

@@ -43,11 +43,14 @@ Background@ASSETBROWSER_PANEL:
X: 2
Y: 0
Visible: false
EnableChildMouseOver: True
Children:
Label@TITLE:
LabelWithTooltip@TITLE:
X: 10
Width: PARENT_RIGHT - 20
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@FILENAME_DESC:
X: 20
Y: 370
@@ -203,3 +206,4 @@ Background@ASSETBROWSER_PANEL:
Height: 25
Font: Bold
Text: Close
TooltipContainer@TOOLTIP_CONTAINER:

View File

@@ -43,11 +43,14 @@ Background@GAMESAVE_BROWSER_PANEL:
Height: 25
X: 2
Visible: false
EnableChildMouseOver: True
Children:
Label@TITLE:
LabelWithTooltip@TITLE:
X: 10
Width: PARENT_RIGHT - 200 - 10
Height: 25
TooltipContainer: GAMESAVE_TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@DATE:
X: PARENT_RIGHT - WIDTH - 10
Width: 200
@@ -113,4 +116,4 @@ Background@GAMESAVE_BROWSER_PANEL:
Text: Save
Font: Bold
Visible: False
TooltipContainer@TOOLTIP_CONTAINER:
TooltipContainer@GAMESAVE_TOOLTIP_CONTAINER:

View File

@@ -144,11 +144,14 @@ Container@LOBBY_MUSIC_BIN:
Height: 25
X: 2
Visible: false
EnableChildMouseOver: True
Children:
Label@TITLE:
LabelWithTooltip@TITLE:
X: 10
Width: PARENT_RIGHT - 50
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@LENGTH:
X: PARENT_RIGHT - 60
Width: 50

View File

@@ -82,10 +82,12 @@ Container@LOBBY_SERVERS_BIN:
Height: 25
EnableChildMouseOver: True
Children:
Label@TITLE:
LabelWithTooltip@TITLE:
X: 5
Width: 245
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Image@PASSWORD_PROTECTED:
X: 272
Y: 6

View File

@@ -34,11 +34,14 @@ Background@MISSIONBROWSER_PANEL:
Width: PARENT_RIGHT - 27
Height: 25
X: 2
EnableChildMouseOver: True
Children:
Label@TITLE:
LabelWithTooltip@TITLE:
X: 10
Width: PARENT_RIGHT - 20
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Container@MISSION_INFO:
X: 300
Y: 50
@@ -149,6 +152,7 @@ Background@MISSIONBROWSER_PANEL:
Y: 1
Width: 640
Height: 375
TooltipContainer@TOOLTIP_CONTAINER:
Background@FULLSCREEN_PLAYER:
Width: WINDOW_RIGHT

View File

@@ -98,10 +98,12 @@ Background@MULTIPLAYER_PANEL:
Height: 25
EnableChildMouseOver: True
Children:
Label@TITLE:
LabelWithTooltip@TITLE:
X: 5
Width: 245
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Image@PASSWORD_PROTECTED:
X: 272
Y: 6

View File

@@ -18,11 +18,14 @@ Background@MUSIC_PANEL:
X: 2
Y: 0
Visible: false
EnableChildMouseOver: True
Children:
Label@TITLE:
LabelWithTooltip@TITLE:
X: 10
Width: PARENT_RIGHT - 50
Height: 25
TooltipContainer: MUSIC_TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@LENGTH:
Width: 50
X: PARENT_RIGHT - 60
@@ -180,3 +183,4 @@ Background@MUSIC_PANEL:
Width: 300
Height: 20
Font: Small
TooltipContainer@MUSIC_TOOLTIP_CONTAINER:

View File

@@ -155,7 +155,7 @@ Background@REPLAYBROWSER_PANEL:
Container@REPLAY_LIST_CONTAINER:
X: 310
Y: 20
Width: 245
Width: 250
Height: PARENT_BOTTOM - 20 - 55
Children:
Label@REPLAYBROWSER_LABEL_TITLE:
@@ -176,11 +176,14 @@ Background@REPLAYBROWSER_PANEL:
Height: 25
X: 2
Visible: false
EnableChildMouseOver: True
Children:
Label@TITLE:
LabelWithTooltip@TITLE:
X: 10
Width: PARENT_RIGHT - 20
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Container@MAP_PREVIEW_ROOT:
X: PARENT_RIGHT - WIDTH - 20
Y: 50