mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-11-03 16:44:05 +00:00
Tweaks downloads button styling and position
This commit is contained in:
@@ -38,10 +38,11 @@ module W3DHubLauncher
|
|||||||
link("GAMES",height: 1.0, text_v_align: :center, font: FONT_BLACK, margin_left: PADDING) { page(Page::Games) }
|
link("GAMES",height: 1.0, text_v_align: :center, font: FONT_BLACK, margin_left: PADDING) { page(Page::Games) }
|
||||||
link("SERVERS",height: 1.0, text_v_align: :center, font: FONT_BLACK, margin_left: PADDING) { page(Page::ServerBrowser) }
|
link("SERVERS",height: 1.0, text_v_align: :center, font: FONT_BLACK, margin_left: PADDING) { page(Page::ServerBrowser) }
|
||||||
stack(fill: true)
|
stack(fill: true)
|
||||||
image safe_get_image("#{ROOT_PATH}/media/icons/import.png"), height: 40, color: 0xff_bbbbbb, tip: "Downloads" do |img|
|
stack(v_align: :center) do
|
||||||
|
button safe_get_image("#{ROOT_PATH}/media/icons/import.png"), image_height: 40, color: 0xff_bbbbbb, padding_left: QUARTER_PADDING, padding_right: QUARTER_PADDING, tip: "Downloads" do |img|
|
||||||
dialog(Dialog::Downloads)
|
dialog(Dialog::Downloads)
|
||||||
end
|
end
|
||||||
image safe_get_image("#{ROOT_PATH}/media/icons/information.png"), height: 40, color: 0xff_bbbbbb, tip: "Notifications"
|
end
|
||||||
end
|
end
|
||||||
# application task status bar container
|
# application task status bar container
|
||||||
@application_task_status_bar_container = stack(width: 1.0, fill: true, margin_left: PADDING, visible: false) do
|
@application_task_status_bar_container = stack(width: 1.0, fill: true, margin_left: PADDING, visible: false) do
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ module W3DHubLauncher
|
|||||||
LARGE_PADDING = 40
|
LARGE_PADDING = 40
|
||||||
PADDING = 20
|
PADDING = 20
|
||||||
HALF_PADDING = 10
|
HALF_PADDING = 10
|
||||||
|
QUARTER_PADDING = 5
|
||||||
|
|
||||||
ALPHA_BLACK = 0x88_000000
|
ALPHA_BLACK = 0x88_000000
|
||||||
ALPHA_GRAY = 0x88_5e5c64
|
ALPHA_GRAY = 0x88_5e5c64
|
||||||
|
|||||||
Reference in New Issue
Block a user