Set a sensible minimum width for the window

This commit is contained in:
fieldOfView 2016-06-23 18:44:06 +02:00
parent 85942583b1
commit e8743abe68
3 changed files with 10 additions and 0 deletions

View file

@ -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;