Skip to content

Commit

Permalink
Merge pull request #97 from akshayr-mecha/fix-connect
Browse files Browse the repository at this point in the history
fix(connect): fix window styling
  • Loading branch information
shoaibmerchant authored Apr 20, 2024
2 parents d002652 + 3d44948 commit 529c6f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ fn init_window(settings: ScreenSettings) -> gtk::Window {
let window_settings = settings.window;
let window = gtk::Window::builder()
.title("Mecha Connect")
.default_width(window_settings.size.0)
.default_height(window_settings.size.1)
// .default_width(window_settings.size.0)
// .default_height(window_settings.size.1)
.css_classes(["window"])
.build();
window.set_resizable(false);
window.set_default_size(window_settings.size.0, window_settings.size.1);
window.set_resizable(true);
// window.set_default_size(window_settings.size.0, window_settings.size.1);
println!("CHECK WINDOW SIZE {:?} ", window.default_size());
window
}
Expand Down

0 comments on commit 529c6f3

Please sign in to comment.