Daniel Brötzmann pushed to branch vcard at gajim / gajim


Commits:
89ac4738 by cal0pteryx at 2026-09-06T13:22:05+02:00
cfix: VCard: Improve textview styling and layout

- - - - -


1 changed file:

- gajim/gtk/vcard_listbox.py


Changes:

=====================================
gajim/gtk/vcard_listbox.py
=====================================
@@ -317,6 +317,8 @@ def __init__(self, prop: NoteProperty | KeyProperty) -> 
None:
             top_margin=8,
             bottom_margin=8,
         )
+        text_view.add_css_class("frame")
+        text_view.add_css_class("card")
 
         text_buffer = text_view.get_buffer()
         text_buffer.set_text(prop.value)
@@ -330,9 +332,10 @@ def __init__(self, prop: NoteProperty | KeyProperty) -> 
None:
             propagate_natural_width=True,
         )
         scrolled.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
+        scrolled.add_css_class("p-6")
 
         content_row = Adw.ActionRow()
-        content_row.add_suffix(scrolled)
+        content_row.set_child(scrolled)
         self.add_row(content_row)
 
         self._dropdown = None



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/89ac4738303153842cee16a87d16dc3921cb6a35

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/89ac4738303153842cee16a87d16dc3921cb6a35
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to