Fix the size of hildon picker buttons to have the correct height

This commit is contained in:
Christian Dywan 2009-10-31 05:03:20 +01:00
parent 1133bc4449
commit e29e7f62d2

View file

@ -542,7 +542,9 @@ katze_property_proxy (gpointer object,
#ifdef HAVE_HILDON_2_2 #ifdef HAVE_HILDON_2_2
GtkWidget* selector; GtkWidget* selector;
widget = hildon_picker_button_new (HILDON_SIZE_AUTO, HILDON_BUTTON_ARRANGEMENT_HORIZONTAL); widget = hildon_picker_button_new (
HILDON_SIZE_FINGER_HEIGHT | HILDON_SIZE_AUTO_WIDTH,
HILDON_BUTTON_ARRANGEMENT_HORIZONTAL);
selector = hildon_touch_selector_new_text (); selector = hildon_touch_selector_new_text ();
hildon_button_set_title (HILDON_BUTTON (widget), gettext (nick)); hildon_button_set_title (HILDON_BUTTON (widget), gettext (nick));
hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (widget), hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (widget),