mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
motd button, adjust colorbox image
This commit is contained in:
BIN
modules/core_styles/icons/motd.png
Normal file
BIN
modules/core_styles/icons/motd.png
Normal file
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
|
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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user