Created
January 6, 2020 17:24
-
-
Save valkum/11ab075131a3bac249fea5ed90716130 to your computer and use it in GitHub Desktop.
unresponsive window on macos catalina
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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