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


Commits:
b33b78fc by wurstsalat at 2021-09-03T00:19:20+02:00
ConversationRow: Improve timestamp margin

- - - - -
14862f20 by wurstsalat at 2021-09-03T00:27:23+02:00
ChatList: Improve close button margins and transition

- - - - -


2 changed files:

- gajim/data/gui/chat_list_row.ui
- gajim/gtk/conversation/rows/base.py


Changes:

=====================================
gajim/data/gui/chat_list_row.ui
=====================================
@@ -230,14 +230,14 @@
             <property name="can-focus">False</property>
             <property name="halign">end</property>
             <property name="transition-type">crossfade</property>
-            <property name="transition-duration">100</property>
+            <property name="transition-duration">50</property>
             <child>
               <object class="GtkButton" id="close_button">
                 <property name="visible">True</property>
                 <property name="can-focus">True</property>
                 <property name="receives-default">True</property>
                 <property name="valign">center</property>
-                <property name="margin-end">3</property>
+                <property name="margin-end">6</property>
                 <child>
                   <object class="GtkImage">
                     <property name="visible">True</property>


=====================================
gajim/gtk/conversation/rows/base.py
=====================================
@@ -71,6 +71,7 @@ def create_timestamp_widget(timestamp: datetime) -> Gtk.Label:
         label = Gtk.Label(label=timestamp_formatted)
         label.set_halign(Gtk.Align.START)
         label.set_valign(Gtk.Align.END)
+        label.set_margin_end(6)
         label.get_style_context().add_class('conversation-meta')
         label.set_tooltip_text(timestamp.strftime('%a, %d %b %Y - %X'))
         return label



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/57340decb181f53fa4d578ecd3a85f5c9084aa10...14862f2050b00b8207929675e4869c7f9c6f2fc1

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/57340decb181f53fa4d578ecd3a85f5c9084aa10...14862f2050b00b8207929675e4869c7f9c6f2fc1
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to