Commit e72f228b authored by Robert Ancell's avatar Robert Ancell

power: Fix device label alignment

Should be left-aligned, previously it was centered
parent 134535d1
Pipeline #41908 passed with stages
in 3 minutes and 22 seconds
......@@ -659,6 +659,7 @@ add_device (CcPowerPanel *panel, UpDevice *device)
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_container_add (GTK_CONTAINER (row), hbox);
widget = gtk_label_new ("");
gtk_label_set_xalign (GTK_LABEL (widget), 0.0);
gtk_widget_set_halign (widget, GTK_ALIGN_START);
gtk_label_set_markup (GTK_LABEL (widget), description->str);
gtk_widget_set_margin_start (widget, 20);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment