FCLabel behavior modified to match updated method based on PR discussion
This commit is contained in:
@@ -24,7 +24,7 @@ class CNCJobGenPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Plot Frame
|
||||
# #############################################################################################################
|
||||
self.plot_options_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('blue'), _("Plot Options")))
|
||||
self.plot_options_label = FCLabel('%s' % _("Plot Options"), color='blue', bold=True)
|
||||
self.layout.addWidget(self.plot_options_label)
|
||||
|
||||
plot_frame = FCFrame()
|
||||
@@ -71,7 +71,7 @@ class CNCJobGenPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Decimals Frame
|
||||
# #############################################################################################################
|
||||
self.layout.addWidget(FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('teal'), _("G-code Decimals"))))
|
||||
self.layout.addWidget(FCLabel('%s' % _("G-code Decimals"), color='teal', bold=True))
|
||||
|
||||
dec_frame = FCFrame()
|
||||
self.layout.addWidget(dec_frame)
|
||||
@@ -141,7 +141,7 @@ class CNCJobGenPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Travel Frame
|
||||
# #############################################################################################################
|
||||
self.travel_color_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('green'), _('Travel Line Color')))
|
||||
self.travel_color_label = FCLabel('%s' % _("Travel Line Color"), color='green', bold=True)
|
||||
self.layout.addWidget(self.travel_color_label)
|
||||
|
||||
travel_frame = FCFrame()
|
||||
@@ -190,7 +190,7 @@ class CNCJobGenPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Object Color Frame
|
||||
# #############################################################################################################
|
||||
self.cnc_color_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('darkorange'), _('Object Color')))
|
||||
self.cnc_color_label = FCLabel('%s' % _("Object Color"), color='darkorange', bold=True)
|
||||
self.layout.addWidget(self.cnc_color_label)
|
||||
|
||||
obj_frame = FCFrame()
|
||||
|
||||
Reference in New Issue
Block a user