Skip to content

Instantly share code, notes, and snippets.

@valkum
Created January 6, 2020 17:24
Show Gist options
  • Save valkum/11ab075131a3bac249fea5ed90716130 to your computer and use it in GitHub Desktop.
Save valkum/11ab075131a3bac249fea5ed90716130 to your computer and use it in GitHub Desktop.
unresponsive window on macos catalina
use orbtk::prelude::*;
fn main() {
Application::from_name("Ironix")
.window(|ctx| {
Window::create()
.title("Buggy")
.size(400.0, 400.0)
.child(
Grid::create()
.columns(
Columns::create()
.column(100.0)
.column(100.0)
.build()
)
.child(
TextBlock::create().text("test")
.attach(Grid::column(0))
.build(ctx)
)
.child(
TextBlock::create().text("test")
.attach(Grid::column(1))
.build(ctx)
)
.build(ctx)
)
.build(ctx)
})
.run();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment