FCLabel behavior modified to match updated method based on PR discussion
This commit is contained in:
@@ -37,7 +37,7 @@ class GeneralAPPSetGroupUI(OptionsGroupUI):
|
||||
# Grid Settings Frame
|
||||
# #############################################################################################################
|
||||
# GRID Settings
|
||||
self.grid_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('magenta'), _('Grid Settings')))
|
||||
self.grid_label = FCLabel('%s' % _("Grid Settings"), color='magenta', bold=True)
|
||||
self.layout.addWidget(self.grid_label)
|
||||
|
||||
grids_frame = FCFrame()
|
||||
@@ -90,7 +90,7 @@ class GeneralAPPSetGroupUI(OptionsGroupUI):
|
||||
# Workspace Frame
|
||||
# #############################################################################################################
|
||||
# Workspace
|
||||
self.workspace_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('brown'), _('Workspace Settings')))
|
||||
self.workspace_label = FCLabel('%s' % _("Workspace Settings"), color='brown', bold=True)
|
||||
self.layout.addWidget(self.workspace_label)
|
||||
|
||||
wk_frame = FCFrame()
|
||||
@@ -191,7 +191,7 @@ class GeneralAPPSetGroupUI(OptionsGroupUI):
|
||||
# Font Frame
|
||||
# #############################################################################################################
|
||||
# Font Size
|
||||
self.font_size_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('green'), _('Font Size')))
|
||||
self.font_size_label = FCLabel('%s' % _("Font Size"), color='green', bold=True)
|
||||
self.layout.addWidget(self.font_size_label)
|
||||
|
||||
fnt_frame = FCFrame()
|
||||
@@ -283,7 +283,7 @@ class GeneralAPPSetGroupUI(OptionsGroupUI):
|
||||
# Axis Frame
|
||||
# #############################################################################################################
|
||||
# Axis Size
|
||||
self.axis_label = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('brown'), _('Axis')))
|
||||
self.axis_label = FCLabel('%s' % _("Axis"), color='brown', bold=True)
|
||||
self.layout.addWidget(self.axis_label)
|
||||
|
||||
ax_frame = FCFrame()
|
||||
@@ -305,7 +305,7 @@ class GeneralAPPSetGroupUI(OptionsGroupUI):
|
||||
# #############################################################################################################
|
||||
# Mouse Frame
|
||||
# #############################################################################################################
|
||||
self.mouse_lbl = FCLabel('<span style="color:%s;"><b>%s</b></span>' % (self.app.theme_safe_color('darkorange'), _('Mouse Settings')))
|
||||
self.mouse_lbl = FCLabel('%s' % _("Mouse Settings"), color='darkorange', bold=True)
|
||||
self.layout.addWidget(self.mouse_lbl)
|
||||
|
||||
m_frame = FCFrame()
|
||||
|
||||
Reference in New Issue
Block a user