- replaced all the FCLabel widgets that have color HTML with the new FCLabel widget that uses parameters for 'color' and weight

This commit is contained in:
Marius Stanciu
2022-04-18 03:41:04 +03:00
committed by Marius
parent 04357843fe
commit d8a0be84a3
79 changed files with 263 additions and 264 deletions

View File

@@ -22,7 +22,7 @@ class Tools2sidedPrefGroupUI(OptionsGroupUI):
self.options = app.options
# ## Board cuttout
self.dblsided_label = FCLabel('<span style="color:indigo;"><b>%s</b></span>' % _("PCB Alignment"))
self.dblsided_label = FCLabel('%s' % _("PCB Alignment"), color='indigo', bold=True)
self.dblsided_label.setToolTip(
_("A tool to help in creating a double sided\n"
"PCB using alignment holes.")
@@ -89,7 +89,7 @@ class Tools2sidedPrefGroupUI(OptionsGroupUI):
# Mirror Frame
# #############################################################################################################
# ### Tools ## ##
self.mirror_label = FCLabel('<span style="color:red;"><b>%s</b></span>' % _("Mirror Operation"))
self.mirror_label = FCLabel('%s' % _("Mirror Operation"), color='red', bold=True)
self.layout.addWidget(self.mirror_label)
mirror_frame = FCFrame()