forked from M-Labs/artiq
gui/applets: prevent size from shrinking to zero when docked
This commit is contained in:
parent
15515f33ef
commit
9797acc964
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue