mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
utils aa-notify: Use default bold font
Instead of specifying the font type and size, which will not work for all display configuration, use the the default BOLD font that tkinter supplies. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
b7ce9b81fa
commit
e0f8bd4400
@ -205,7 +205,7 @@ class ShowMoreGUIAggregated(GUI):
|
|||||||
|
|
||||||
def create_profile_rules_frame(self, parent, clean_rules):
|
def create_profile_rules_frame(self, parent, clean_rules):
|
||||||
for profile_name, profile_rules in clean_rules.items():
|
for profile_name, profile_rules in clean_rules.items():
|
||||||
label = ttk.Label(parent, text=profile_name, font=('Arial', 14, 'bold'))
|
label = ttk.Label(parent, text=profile_name, font=tk.font.BOLD)
|
||||||
label.pack(anchor='w', pady=(5, 0))
|
label.pack(anchor='w', pady=(5, 0))
|
||||||
label.bind("<Button-1>", lambda event, rules=profile_rules: self.toggle_profile_rules(rules))
|
label.bind("<Button-1>", lambda event, rules=profile_rules: self.toggle_profile_rules(rules))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user