for (int days = 0; days <= 4; days += 1)
tolerance_selector.append_text (_("+/- %d days").printf (days));
+ var alignment = new Alignment (0.0f, 0.0f, 1.0f, 1.0f);
+ alignment.top_padding = MARGIN_HALF;
+ alignment.left_padding = MARGIN_DOUBLE;
+ alignment.right_padding = MARGIN_DOUBLE;
var table = new Table (5, 2, false);
var button = new PickerButton (SizeType.FINGER_HEIGHT,
Hildon.gtk_widget_set_theme_size (search_button, SizeType.FINGER_HEIGHT);
table.attach (search_button, 0, 2, 4, 5, AttachOptions.FILL, AttachOptions.FILL, 0, 0);
- add (table);
+ alignment.add (table);
+ add (alignment);
switch_button.clicked.connect (on_switch_button_clicked);
search_button.clicked.connect (on_search_button_clicked);