From c98fe70cfaa2d2e14003282d5a8ee717e76acd58 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 26 Oct 2017 12:02:00 +0800 Subject: [PATCH] dashboard: resize moninj widgets to fit titles --- artiq/dashboard/moninj.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/artiq/dashboard/moninj.py b/artiq/dashboard/moninj.py index 7d553d762..9b255ddea 100644 --- a/artiq/dashboard/moninj.py +++ b/artiq/dashboard/moninj.py @@ -145,8 +145,6 @@ class _SimpleDisplayWidget(QtWidgets.QFrame): self.setLayout(grid) label = QtWidgets.QLabel(title) label.setAlignment(QtCore.Qt.AlignCenter) - label.setSizePolicy(QtWidgets.QSizePolicy.Ignored, - QtWidgets.QSizePolicy.Preferred) grid.addWidget(label, 1, 1) self.value = QtWidgets.QLabel()