[PATCH 2/3] Make DiskOverviews take up less vertical space and give them a border.

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

 



---
 widgets/src/DiskOverview.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/widgets/src/DiskOverview.c b/widgets/src/DiskOverview.c
index 73a423a..73d09ef 100644
--- a/widgets/src/DiskOverview.c
+++ b/widgets/src/DiskOverview.c
@@ -182,12 +182,14 @@ static void anaconda_disk_overview_init(AnacondaDiskOverview *widget) {
     widget->priv = G_TYPE_INSTANCE_GET_PRIVATE(widget,
                                                ANACONDA_TYPE_DISK_OVERVIEW,
                                                AnacondaDiskOverviewPrivate);
+    gtk_widget_set_valign(GTK_WIDGET(widget), GTK_ALIGN_CENTER);
 
     /* Set some properties. */
     widget->priv->selected = FALSE;
 
     /* Create the vbox. */
     widget->priv->vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6);
+    gtk_container_set_border_width(GTK_CONTAINER(widget->priv->vbox), 6);
 
     /* Create the capacity label. */
     widget->priv->capacity_label = gtk_label_new(NULL);
-- 
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux