Skip to content

Commit

Permalink
Merge pull request Southpaw-TACTIC#1654 from diegocortassa/DC-Patch097
Browse files Browse the repository at this point in the history
Use font awesome for ContentBoxWdg() icons (solution to issue Southpaw-TACTIC#1653)
  • Loading branch information
remkonoteboom authored Jun 21, 2021
2 parents e0fde12 + 34d409e commit ec6eabd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tactic/ui/container/content_wdg.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def get_title_wdg(self):
if show_gear in [True, 'true']:
icon_div = DivWdg()
title_div.add(icon_div)
icon = IconWdg(icon="G_SETTINGS", width=16)
icon = IconWdg(icon="FA_COG", width=16)
icon_div.add(icon)
icon_div.add_styles('''float: right; height: 25px; margin-top: 0px; padding: 0px 8px 0px 5px;''')

Expand All @@ -225,7 +225,7 @@ def get_title_wdg(self):

icon_div = DivWdg()
title_div.add(icon_div)
icon = IconButtonWdg(icon="G_UP", width=16)
icon = IconButtonWdg(icon="FA_CHEVRON_UP", width=16)
icon_div.add(icon)
icon_div.add_styles('''float: right; height: 25px; margin-top: 0px; padding: 0px 8px;''')
icon_div.add_behavior( {
Expand All @@ -252,7 +252,7 @@ def get_title_wdg(self):

icon_div = DivWdg()
title_div.add(icon_div)
icon = IconButtonWdg(icon="G_MAXIMIZE", width=16)
icon = IconButtonWdg(icon="FA_CHEVRON_UP", width=16)
icon_div.add(icon)
icon_div.add_styles('''float: right; height: 25px; margin-top: 0px; padding: 0px 0px;''')

Expand Down

0 comments on commit ec6eabd

Please sign in to comment.