ui icon indicating copy to clipboard operation
ui copied to clipboard

Wrong UI layout with button when used with stacks(row and column)

Open bishalstha opened this issue 4 years ago • 1 comments

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 Screen Shot 2021-03-02 at 2 12 23 PM

bishalstha avatar Mar 02 '21 08:03 bishalstha

already fixed. 名称未設定_001

ghost avatar Jul 31 '21 16:07 ghost