Skip to content

Commit

Permalink
Task #16513. dopasowanie interfejsu pod skalowanie
Browse files Browse the repository at this point in the history
  • Loading branch information
klaudiamiekina committed Jul 19, 2022
1 parent 0d13f79 commit 6460e90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions giap_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def setfont_settings_dialog(self) -> None:
attr.setStyleSheet(f'{attr.styleSheet()} font: {self.font_size}pt;')
attributes = [self.set_dlg.label, self.set_dlg.label_3]
for attr in attributes:
for replace in (re.findall(r'font-size:\d+', attr.text())):
replaced = attr.text().replace(f'{replace}', f'font-size: {self.font_size}')
for repl in (re.findall(r'font-size:\d+', attr.text())):
replaced = attr.text().replace(f'{repl}', f'font-size: {self.font_size}')
attr.setText(replaced)

def setfont_styles_dialog(self) -> None:
Expand Down

0 comments on commit 6460e90

Please sign in to comment.