motd button, adjust colorbox image
This commit is contained in:
parent
ba62863ff7
commit
71d9074fff
Binary file not shown.
After Width: | Height: | Size: 331 B |
Binary file not shown.
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 262 B |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
@ -26,17 +26,17 @@ Button < UIButton
|
|||
|
||||
TopButton < UIButton
|
||||
background-color: white
|
||||
size: 26 25
|
||||
size: 26 26
|
||||
text-translate: 0 0
|
||||
border-image:
|
||||
source: /core_styles/images/top_button.png
|
||||
size: 26 25
|
||||
size: 26 26
|
||||
border: 3
|
||||
|
||||
$hover:
|
||||
border-image:
|
||||
source: /core_styles/images/top_button.png
|
||||
size: 26 25
|
||||
size: 26 26
|
||||
offset: 26 0
|
||||
border: 3
|
||||
|
||||
|
@ -44,7 +44,7 @@ TopButton < UIButton
|
|||
text-translate: 1 1
|
||||
border-image:
|
||||
source: /core_styles/images/top_button.png
|
||||
size: 26 25
|
||||
size: 26 26
|
||||
offset: 52 0
|
||||
border: 3
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ TopPanel
|
|||
phantom: true
|
||||
|
||||
TopButton
|
||||
id: enterGameButton
|
||||
anchors.top: prev.top
|
||||
anchors.left: prev.right
|
||||
margin.left: 6
|
||||
|
@ -38,6 +39,20 @@ TopPanel
|
|||
anchors.centerIn: parent
|
||||
phantom: true
|
||||
|
||||
TopButton
|
||||
id: motdButton
|
||||
anchors.top: prev.top
|
||||
anchors.left: prev.right
|
||||
margin.left: 6
|
||||
tooltip: Message of the day
|
||||
@onClick:
|
||||
|
||||
UIWidget
|
||||
size: 16 16
|
||||
image: /core_styles/icons/motd.png
|
||||
anchors.centerIn: parent
|
||||
phantom: true
|
||||
|
||||
TopButton
|
||||
anchors.top: parent.top
|
||||
anchors.right: parent.right
|
||||
|
|
Loading…
Reference in New Issue