mirror of https://github.com/m-labs/artiq.git
browser: port b769403
This commit is contained in:
parent
42093ace8d
commit
ee5b269823
|
@ -164,6 +164,8 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
|
||||||
|
|
||||||
def __init__(self, area, expurl, arguments):
|
def __init__(self, area, expurl, arguments):
|
||||||
QtWidgets.QMdiSubWindow.__init__(self)
|
QtWidgets.QMdiSubWindow.__init__(self)
|
||||||
|
qfm = QtGui.QFontMetrics(self.font())
|
||||||
|
self.resize(100*qfm.averageCharWidth(), 30*qfm.lineSpacing())
|
||||||
self.setWindowTitle(expurl)
|
self.setWindowTitle(expurl)
|
||||||
self.setWindowIcon(QtWidgets.QApplication.style().standardIcon(
|
self.setWindowIcon(QtWidgets.QApplication.style().standardIcon(
|
||||||
QtWidgets.QStyle.SP_FileDialogContentsView))
|
QtWidgets.QStyle.SP_FileDialogContentsView))
|
||||||
|
|
Loading…
Reference in New Issue