mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-17 09:42:33 +00:00
More style updates
This commit is contained in:
@@ -7,21 +7,21 @@ class W3DHub
|
||||
|
||||
theme W3DHub::THEME
|
||||
|
||||
background 0xaa_444444
|
||||
background 0x88_525252
|
||||
|
||||
stack(width: 1.0, max_width: 760, height: 1.0, max_height: 256, v_align: :center, h_align: :center, background: 0xff_222222) do
|
||||
stack(width: 1.0, max_width: 760, height: 1.0, max_height: 272, v_align: :center, h_align: :center, background: 0xee_222222) do
|
||||
# Title bar
|
||||
flow(width: 1.0, height: 32, padding: 8) do
|
||||
flow(width: 1.0, height: 36, padding: 8) do
|
||||
background 0x88_000000
|
||||
|
||||
# image "#{GAME_ROOT_PATH}/media/ui_icons/export.png", width: 32, align: :center, color: 0xaa_ffffff
|
||||
|
||||
# tagline "<b>#{I18n.t(:"server_browser.direct_connect")}</b>", fill: true, text_align: :center
|
||||
tagline @server_profile ? "Update Server Profile" : "Add Server Profile", width: 1.0, text_align: :center
|
||||
title @server_profile ? "Update Server Profile" : "Add Server Profile", width: 1.0, text_align: :center, font: BOLD_FONT
|
||||
end
|
||||
|
||||
stack(width: 1.0, fill: true, padding_left: 8, padding_right: 8) do
|
||||
stack(width: 1.0, height: 66) do
|
||||
stack(width: 1.0, height: 72) do
|
||||
para "Server Profile Name:"
|
||||
@server_name = edit_line "#{@server_profile&.name}", width: 1.0, fill: true
|
||||
@server_name.subscribe(:changed) do |label|
|
||||
@@ -31,7 +31,7 @@ class W3DHub
|
||||
|
||||
flow(fill: true)
|
||||
|
||||
flow(width: 1.0, height: 40, padding_bottom: 8) do
|
||||
flow(width: 1.0, height: 46, padding_bottom: 8) do
|
||||
button "Cancel", fill: true, margin_right: 4 do
|
||||
pop_state
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user