[virt-tools-list] [virt-manager PATCH 1/2] Resolve incorrect label alignment

Cole Robinson crobinso at redhat.com
Thu Jun 1 17:56:53 UTC 2017


On 06/01/2017 01:40 AM, Radostin Stoyanov wrote:
> The "xalign" property determines the horizontal alignment of the label
> text inside the labels size allocation. Compare this to “halign”,
> which determines how the labels size allocation is positioned
> in the space available for the label. [1]
> 
> When the "width_chars" property is used, labels appear to be centered.
> This could be resolved when the property "width_chars" is replaced
> with "max_width_chars" or removed in case "max_width_chars" is already
> set. [2]
> 
> [1] https://developer.gnome.org/gtk3/stable/GtkLabel.html#GtkLabel--xalign
> [2] https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkAlign
> ---
>  ui/asyncjob.ui | 1 -
>  ui/clone.ui    | 3 +--
>  ui/create.ui   | 2 --
>  3 files changed, 1 insertion(+), 5 deletions(-)

Ahh nice sleuthing! Though you missed one case in connect.ui which I squashed
in. Patches pushed now

Thanks,
Cole




More information about the virt-tools-list mailing list