FCLabel behavior modified to match updated method based on PR discussion
This commit is contained in:
@@ -22,7 +22,7 @@ class GeneralGUIPrefGroupUI(OptionsGroupUI):
|
||||
self.decimals = app.decimals
|
||||
self.options = app.options
|
||||
|
||||
self.param_lbl = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('blue'), _("Parameters")))
|
||||
self.param_lbl = FCLabel('%s' % _("Parameters"), color='blue', bold=True)
|
||||
self.layout.addWidget(self.param_lbl)
|
||||
|
||||
# #############################################################################################################
|
||||
@@ -151,7 +151,7 @@ class GeneralGUIPrefGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Grid1 Frame
|
||||
# #############################################################################################################
|
||||
self.color_lbl = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('teal'), _("Colors")))
|
||||
self.color_lbl = FCLabel('%s' % _("Colors"), color='teal', bold=True)
|
||||
self.layout.addWidget(self.color_lbl)
|
||||
|
||||
color_frame = FCFrame()
|
||||
|
||||
Reference in New Issue
Block a user