From 2f9b95f04beb031e9e4a6be3ab579d6eff8fc6c0 Mon Sep 17 00:00:00 2001 From: atse Date: Wed, 7 Aug 2024 18:30:59 +0800 Subject: [PATCH] ctrl_panel: Bold "Control Method" text --- pytec/pytec/gui/view/ctrl_panel.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pytec/pytec/gui/view/ctrl_panel.py b/pytec/pytec/gui/view/ctrl_panel.py index 211bfef..858d8de 100644 --- a/pytec/pytec/gui/view/ctrl_panel.py +++ b/pytec/pytec/gui/view/ctrl_panel.py @@ -72,6 +72,11 @@ class CtrlPanel(QObject): ) _indicate_usage(param.child("output", "control_method")) + for item in param.child("output", "control_method").items: + font = item.font(0) + font.setBold(True) + item.setFont(0, font) + def _setValue(self, value, blockSignal=None): """ Implement 'lock' mechanism for Parameter Type