GNOME Bugzilla – Bug 735841
EmptyBoxes: instructions_label's alignment is off
Last modified: 2014-09-30 03:57:39 UTC
Created attachment 285067 [details] Screenshot of the problem See attached screenshot. It's probably been like that since f32c32059a96186cac819cd2bd2b6653c2ce04d0 because halign=START is not enough for multiline labels. If the label's allocation is larger than the PangoLayout it contains, the text will still be centered since xalign=0.5. I won't attach a patch since I don't know how important the xalign-freedom is (or why the UI in EmptyBoxes is built the way it is).
Turns out there really is no way of fixing this with current gtk+. I think gtk+ should provide alternative API before deprecating existing one. I'll assign this to gtk+ now and insert a work around with a URL to this bug in the comment.
*** Bug 736541 has been marked as a duplicate of this bug. ***
Created attachment 286252 [details] [review] GtkLabel: add x/yalign properties Since it turns out that x/yalign can't be quite equivalently replaced by h/valign, bring them back as label properties, so we can eventually get rid of GtkMisc.
Attachment 286252 [details] pushed as d39424f - GtkLabel: add x/yalign properties