- 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:
@@ -414,7 +414,7 @@ class AlignUI:
|
||||
# #############################################################################################################
|
||||
# Moving Object Frame
|
||||
# #############################################################################################################
|
||||
self.aligned_label = FCLabel('<span style="color:indigo;"><b>%s</b></span>' % _("MOVING object"))
|
||||
self.aligned_label = FCLabel('%s' % _("MOVING object"), color='indigo', bold=True)
|
||||
self.aligned_label.setToolTip(
|
||||
_("Specify the type of object to be aligned.\n"
|
||||
"It can be of type: Gerber or Excellon.\n"
|
||||
@@ -453,7 +453,7 @@ class AlignUI:
|
||||
# #############################################################################################################
|
||||
# Destination Object Frame
|
||||
# #############################################################################################################
|
||||
self.aligned_label = FCLabel('<span style="color:red;"><b>%s</b></span>' % _("DESTINATION object"))
|
||||
self.aligned_label = FCLabel('%s' % _("DESTINATION object"), color='red', bold=True)
|
||||
self.aligned_label.setToolTip(
|
||||
_("Specify the type of object to be aligned to.\n"
|
||||
"It can be of type: Gerber or Excellon.\n"
|
||||
@@ -492,7 +492,7 @@ class AlignUI:
|
||||
# #############################################################################################################
|
||||
# Parameters Frame
|
||||
# #############################################################################################################
|
||||
self.param_label = FCLabel('<span style="color:blue;"><b>%s</b></span>' % _('Parameters'))
|
||||
self.param_label = FCLabel('%s' % _("Parameters"), color='blue', bold=True)
|
||||
self.tools_box.addWidget(self.param_label)
|
||||
|
||||
par_frame = FCFrame()
|
||||
|
||||
Reference in New Issue
Block a user