mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 17:22:35 +00:00
WIP: Adding IRC support to Direct Connect system, using new v/h_align option for centering dialogs
This commit is contained in:
@@ -7,9 +7,9 @@ class W3DHub
|
||||
|
||||
theme W3DHub::THEME
|
||||
|
||||
background 0xee_444444
|
||||
background 0xaa_444444
|
||||
|
||||
stack(width: 1.0, height: 1.0, margin: 256, background: 0xee_222222) do
|
||||
stack(width: 1.0, max_width: 760, height: 1.0, max_height: 256, v_align: :center, h_align: :center, background: 0xff_222222) do
|
||||
# Title bar
|
||||
flow(width: 1.0, height: 32, padding: 8) do
|
||||
background 0x88_000000
|
||||
@@ -74,10 +74,6 @@ class W3DHub
|
||||
@save_button.enabled = valid?
|
||||
end
|
||||
|
||||
def close
|
||||
pop_state
|
||||
end
|
||||
|
||||
def button_down(id)
|
||||
super
|
||||
|
||||
|
||||
Reference in New Issue
Block a user