[gnome-boxes] libvirt-machine-props: Align "CD/DVD" towards start



commit 42b3eefaff4e1952486c8da6e5480a3f102e92c0
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Feb 20 19:15:45 2015 +0000

    libvirt-machine-props: Align "CD/DVD" towards start
    
    Align CDROM description towards the start so its nicely aligned with the
    only other possible property on this page: USB devices. This also makes
    this view more like the UI mockup:
    
    https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/boxes/wires/properties-modal.png

 src/libvirt-machine-properties.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index 29a79b6..7e69ced 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -310,7 +310,8 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
             }
         });
 
-        add_property (ref list, _("CD/DVD"), grid);
+        var property = add_property (ref list, _("CD/DVD"), grid);
+        property.description_alignment = Gtk.Align.START;
     }
 
     private void update_ram_property (Boxes.Property property) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]