From 4ba4e3a35eb75f7f1b8f2206c3ca183502b4ec89 Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Sat, 25 Nov 2023 21:12:29 +0900 Subject: [PATCH] Remove setFont call not to mess the font --- labelme/app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/labelme/app.py b/labelme/app.py index 0cff4ee52..045ac79bd 100644 --- a/labelme/app.py +++ b/labelme/app.py @@ -470,7 +470,6 @@ def __init__( zoomBoxLayout.addWidget(self.zoomWidget) zoomLabel = QtWidgets.QLabel("Zoom") zoomLabel.setAlignment(Qt.AlignCenter) - zoomLabel.setFont(QtGui.QFont(None, 10)) zoomBoxLayout.addWidget(zoomLabel) zoom.setDefaultWidget(QtWidgets.QWidget()) zoom.defaultWidget().setLayout(zoomBoxLayout) @@ -766,7 +765,6 @@ def __init__( ) selectAiModelLabel = QtWidgets.QLabel(self.tr("AI Model")) selectAiModelLabel.setAlignment(QtCore.Qt.AlignCenter) - selectAiModelLabel.setFont(QtGui.QFont(None, 10)) selectAiModel.defaultWidget().layout().addWidget(selectAiModelLabel) self.tools = self.toolbar("Tools")