Constrain app minimum size
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
committed by
William Casarin
parent
80b76c5381
commit
242053c6e0
@@ -9,6 +9,7 @@ pub fn generate_native_options() -> NativeOptions {
|
|||||||
.with_fullsize_content_view(true)
|
.with_fullsize_content_view(true)
|
||||||
.with_titlebar_shown(false)
|
.with_titlebar_shown(false)
|
||||||
.with_title_shown(false)
|
.with_title_shown(false)
|
||||||
|
.with_min_inner_size([660.0 * (1.0 + UI_SCALE_FACTOR) , 720.0 * (1.0 + UI_SCALE_FACTOR)])
|
||||||
});
|
});
|
||||||
let mut native_options = eframe::NativeOptions::default();
|
let mut native_options = eframe::NativeOptions::default();
|
||||||
native_options.window_builder = Some(window_builder);
|
native_options.window_builder = Some(window_builder);
|
||||||
|
|||||||
Reference in New Issue
Block a user