ui
ui copied to clipboard
Wrong UI layout with button when used with stacks(row and column)
V version:0.2.2 UI version:0.0.4 OS:macOS
What did you do? ` import ui
fn main() { ui.run(ui.window({ resizable: true }, [ ui.column({}, [ ui.row({}, [ ui.column({}, [ ui.label(text: 'text1'), ]), ui.column({}, [ ui.label(text: 'text2'), ]), ]), ui.button( text: 'Hello' onclick: on_click ), ]), ])) }
fn on_click(vp voidptr, window &ui.Window) { println('Here') } `
What did you expect to see? Correct UI layout
What did you see instead?
Text for the button was positioned wrongly

already fixed.
