fix: resize border

This commit is contained in:
Ashley Wulber 2026-03-04 13:09:18 -05:00 committed by Ashley Wulber
parent 40b6bfe9ca
commit a839760e2a
5 changed files with 60 additions and 23 deletions

View file

@ -56,6 +56,9 @@ pub struct Settings {
/// Whether the window should be resizable or not.
pub resizable: bool,
/// The border area for the drag resize handle.
pub resize_border: u32,
/// Whether the title bar has Close button or not
pub closeable: bool,
@ -120,6 +123,7 @@ impl Default for Settings {
icon: None,
exit_on_close_request: true,
platform_specific: PlatformSpecific::default(),
resize_border: 8,
}
}
}