mirror of https://github.com/lapce/lapce.git
change window min size to 400 * 270
This commit is contained in:
parent
d84062aaa4
commit
7995b209e1
|
@ -41,7 +41,7 @@ pub fn lanuch() {
|
|||
.title(LocalizedString::new("Lapce").with_placeholder("Lapce"))
|
||||
.show_titlebar(false)
|
||||
.window_size(window_data.size)
|
||||
.with_min_size(Size::new(800.0, 600.0))
|
||||
.with_min_size(Size::new(400.0, 270.0))
|
||||
.set_position(window_data.pos);
|
||||
launcher = launcher.with_window(window);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ fn command(
|
|||
)
|
||||
.show_titlebar(false)
|
||||
.window_size(info.size)
|
||||
.with_min_size(Size::new(800.0, 600.0))
|
||||
.with_min_size(Size::new(400.0, 270.0))
|
||||
.set_position(info.pos);
|
||||
ctx.new_window(desc);
|
||||
return druid::Handled::Yes;
|
||||
|
|
Loading…
Reference in New Issue