Browse Source

Fix properties view spacing

Daniele Bartolini 9 năm trước cách đây
mục cha
commit
e10e7b22ae
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      tools/level_editor/properties_view.vala

+ 3 - 1
tools/level_editor/properties_view.vala

@@ -32,10 +32,12 @@ namespace Crown
 
 		public void attach_row(uint row, string label, Gtk.Widget w)
 		{
+			this.row_spacing = 6;
+			this.column_spacing = 12;
+
 			Gtk.Label l = new Label(label);
 			l.width_chars = 10;
 			l.set_alignment(1.0f, 0.5f);
-			l.set_padding(4, 0);
 
 			PropertyRow r = new PropertyRow(w);