mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-01 06:41:06 -07:00
Set a sensible minimum width for the window
This commit is contained in:
parent
85942583b1
commit
e8743abe68
3 changed files with 10 additions and 0 deletions
|
|
@ -17,6 +17,11 @@ UM.MainWindow
|
|||
title: catalog.i18nc("@title:window","Cura");
|
||||
viewportRect: Qt.rect(0, 0, (base.width - sidebar.width) / base.width, 1.0)
|
||||
|
||||
Component.onCompleted:
|
||||
{
|
||||
Printer.setMinimumWindowSize(UM.Theme.getSize("window_minimum_size"))
|
||||
}
|
||||
|
||||
Item
|
||||
{
|
||||
id: backgroundItem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue