motd button, adjust colorbox image

This commit is contained in:
Eduardo Bart 2011-11-16 15:24:43 -02:00
parent ba62863ff7
commit 71d9074fff
5 changed files with 19 additions and 4 deletions

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

View File

@ -26,17 +26,17 @@ Button < UIButton
TopButton < UIButton TopButton < UIButton
background-color: white background-color: white
size: 26 25 size: 26 26
text-translate: 0 0 text-translate: 0 0
border-image: border-image:
source: /core_styles/images/top_button.png source: /core_styles/images/top_button.png
size: 26 25 size: 26 26
border: 3 border: 3
$hover: $hover:
border-image: border-image:
source: /core_styles/images/top_button.png source: /core_styles/images/top_button.png
size: 26 25 size: 26 26
offset: 26 0 offset: 26 0
border: 3 border: 3
@ -44,7 +44,7 @@ TopButton < UIButton
text-translate: 1 1 text-translate: 1 1
border-image: border-image:
source: /core_styles/images/top_button.png source: /core_styles/images/top_button.png
size: 26 25 size: 26 26
offset: 52 0 offset: 52 0
border: 3 border: 3

View File

@ -21,6 +21,7 @@ TopPanel
phantom: true phantom: true
TopButton TopButton
id: enterGameButton
anchors.top: prev.top anchors.top: prev.top
anchors.left: prev.right anchors.left: prev.right
margin.left: 6 margin.left: 6
@ -38,6 +39,20 @@ TopPanel
anchors.centerIn: parent anchors.centerIn: parent
phantom: true 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 TopButton
anchors.top: parent.top anchors.top: parent.top
anchors.right: parent.right anchors.right: parent.right