Skip to content
Snippets Groups Projects
Commit 23f15e88 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist
Browse files

Tooltips: Reduce icon sizes

parent 8260aad1
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ class RowHeaderType(IntEnum):
class AvatarSize(IntEnum):
TAB = 16
STATUS_CIRCLE = 24
ROSTER = 32
ACCOUNT_SIDE_BAR = 40
WORKSPACE = 40
......@@ -31,7 +32,7 @@ class AvatarSize(IntEnum):
CHAT = 48
NOTIFICATION = 48
GROUP_INFO = 100
TOOLTIP = 125
TOOLTIP = 100
VCARD = 200
PUBLISH = 200
......
......@@ -197,7 +197,7 @@ def _build_resource_grid(self, resources, scale):
row_num = 0
for contact in resources:
show_surface = get_show_circle(
contact.show, AvatarSize.ROSTER, scale)
contact.show, AvatarSize.STATUS_CIRCLE, scale)
show_image = Gtk.Image.new_from_surface(show_surface)
show_image.set_halign(Gtk.Align.START)
show_image.set_valign(Gtk.Align.CENTER)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment