forked from M-Labs/artiq
1
0
Fork 0

gui/applets: prevent size from shrinking to zero when docked

This commit is contained in:
Sebastien Bourdeauducq 2016-02-14 23:27:59 +01:00
parent 15515f33ef
commit 9797acc964
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ class AppletDock(QDockWidgetCloseDetect):
def __init__(self, datasets_sub, uid, name, command): def __init__(self, datasets_sub, uid, name, command):
QDockWidgetCloseDetect.__init__(self, "Applet: " + name) QDockWidgetCloseDetect.__init__(self, "Applet: " + name)
self.setObjectName("applet" + str(uid)) self.setObjectName("applet" + str(uid))
self.setMinimumSize(QtCore.QSize(100, 100))
self.datasets_sub = datasets_sub self.datasets_sub = datasets_sub
self.applet_name = name self.applet_name = name