setup: Fix some style issues

This commit is contained in:
Hylke Bons 2013-10-09 11:33:12 +02:00
parent 02b3041893
commit 7fd7c6ee46
2 changed files with 9 additions and 17 deletions

View file

@ -123,15 +123,15 @@ namespace SparkleShare {
if (type == PageType.Add) {
Header = "Wheres your project hosted?";
VBox layout_vertical = new VBox (false, 12);
HBox layout_fields = new HBox (true, 12);
VBox layout_vertical = new VBox (false, 16);
HBox layout_fields = new HBox (true, 32);
VBox layout_address = new VBox (true, 0);
VBox layout_path = new VBox (true, 0);
ListStore store = new ListStore (typeof (Gdk.Pixbuf), typeof (string), typeof (SparklePlugin));
SparkleTreeView tree = new SparkleTreeView (store) { HeadersVisible = false };
ScrolledWindow scrolled_window = new ScrolledWindow ();
ScrolledWindow scrolled_window = new ScrolledWindow () { ShadowType = ShadowType.In };
scrolled_window.AddWithViewport (tree);
// Icon column
@ -140,7 +140,7 @@ namespace SparkleShare {
// Service column
TreeViewColumn service_column = new TreeViewColumn () { Title = "Service" };
CellRendererText service_cell = new CellRendererText () { Ypad = 4 };
CellRendererText service_cell = new CellRendererText () { Ypad = 8 };
service_column.PackStart (service_cell, true);
service_column.SetCellDataFunc (service_cell, new TreeCellDataFunc (RenderServiceColumn));
@ -273,8 +273,8 @@ namespace SparkleShare {
layout_path.PackStart (path_entry, false, false, 0);
layout_path.PackStart (path_example, false, false, 0);
layout_fields.PackStart (layout_address, false, false, 0);
layout_fields.PackStart (layout_path, false, false, 0);
layout_fields.PackStart (layout_address, true, true, 0);
layout_fields.PackStart (layout_path, true, true, 0);
layout_vertical.PackStart (new Label (""), false, false, 0);
layout_vertical.PackStart (scrolled_window, true, true, 0);

View file

@ -75,20 +75,12 @@ namespace SparkleShare {
VBox = new VBox (false, 0);
Wrapper = new VBox (false, 0) {
BorderWidth = 0
};
OptionArea = new VBox (false, 0) {
BorderWidth = 0
};
Wrapper = new VBox (false, 0);
OptionArea = new VBox (false, 0);
Buttons = CreateButtonBox ();
HBox layout_horizontal = new HBox (false , 0) {
BorderWidth = 0
};
HBox layout_horizontal = new HBox (false , 48);
layout_horizontal.PackStart (OptionArea, true, true, 0);
layout_horizontal.PackStart (Buttons, false, false, 0);