forked from AuroraMiddleware/gtk
placessidebar: fix ellipsizing glitch
The places sidebar rows' labels were missing a proper xalign, which caused the labels to keep shaking while the sidebar was resized. Fix that by setting the label's xalign to 0.
This commit is contained in:
parent
317ba620e2
commit
c3b6345377
@ -33,6 +33,8 @@
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_widget">
|
||||
<property name="visible">True</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="xalign">0</property>
|
||||
<style>
|
||||
<class name="sidebar-label"/>
|
||||
</style>
|
||||
@ -45,8 +47,7 @@
|
||||
<child>
|
||||
<object class="GtkButton" id="eject_button">
|
||||
<property name="visible">True</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="halign">center</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="margin-start">4px</property>
|
||||
<property name="no-show-all">True</property>
|
||||
|
Loading…
Reference in New Issue
Block a user