WIP: Adding IRC support to Direct Connect system, using new v/h_align option for centering dialogs

This commit is contained in:
2022-06-13 21:43:13 -05:00
parent 7e59c984ff
commit 3ca8ab656f
11 changed files with 172 additions and 139 deletions

View File

@@ -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
@@ -58,10 +58,6 @@ class W3DHub
super
end
def close
pop_state
end
def button_down(id)
super