Skip to content

Commit

Permalink
Remove setFont call not to mess the font
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Nov 25, 2023
1 parent 67e489b commit f85133a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions labelme/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit f85133a

Please sign in to comment.