- 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:
Marius Stanciu
2022-04-18 03:41:04 +03:00
committed by Marius
parent 04357843fe
commit d8a0be84a3
79 changed files with 263 additions and 264 deletions

View File

@@ -24,7 +24,7 @@ class ToolsCalculatorsPrefGroupUI(OptionsGroupUI):
# #############################################################################################################
# V-Shape Tool Frame
# #############################################################################################################
self.vshape_tool_label = FCLabel('<span style="color:green;"><b>%s</b></span>' % _("V-Shape Tool Calculator"))
self.vshape_tool_label = FCLabel('%s' % _("V-Shape Tool Calculator"), color='green', bold=True)
self.vshape_tool_label.setToolTip(
_("Calculate the tool diameter for a given V-shape tool,\n"
"having the tip diameter, tip angle and\n"
@@ -83,7 +83,7 @@ class ToolsCalculatorsPrefGroupUI(OptionsGroupUI):
# #############################################################################################################
# Electroplating Frame
# #############################################################################################################
self.plate_title_label = FCLabel('<span style="color:brown;"><b>%s</b></span>' % _("ElectroPlating Calculator"))
self.plate_title_label = FCLabel('%s' % _("ElectroPlating Calculator"), color='brown', bold=True)
self.plate_title_label.setToolTip(
_("This calculator is useful for those who plate the via/pad/drill holes,\n"
"using a method like graphite ink or calcium hypophosphite ink or palladium chloride.")