- 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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user