From: Roman Moravcik Date: Tue, 19 Jan 2010 09:33:03 +0000 (+0100) Subject: Make font touch selector more finger friendly X-Git-Tag: 0.1.2009.47-1+0m5-2~4 X-Git-Url: http://vcs.maemo.org/git/?p=mafwsubrenderer;a=commitdiff_plain;h=d74dcf71e2266f6e2529d6b67232c1cc63aa8178 Make font touch selector more finger friendly --- diff --git a/applet/cpmpsubtitles.c b/applet/cpmpsubtitles.c index 63c9a0b..c46f498 100644 --- a/applet/cpmpsubtitles.c +++ b/applet/cpmpsubtitles.c @@ -457,7 +457,8 @@ font_selector_dialog (HildonButton *button, /* font style selector */ style_selector = hildon_touch_selector_new_text (); - gtk_box_pack_start (GTK_BOX (hbox), style_selector, TRUE, TRUE, 0); + gtk_widget_set_size_request (style_selector, 200, -1); + gtk_box_pack_start (GTK_BOX (hbox), style_selector, FALSE, TRUE, 0); index = 0; while (index < FONT_STYLE_LAST) { @@ -490,7 +491,8 @@ font_selector_dialog (HildonButton *button, /* font size selector */ size_selector = hildon_touch_selector_new_text (); - gtk_box_pack_start (GTK_BOX (hbox), size_selector, TRUE, TRUE, 0); + gtk_widget_set_size_request (size_selector, 100, -1); + gtk_box_pack_start (GTK_BOX (hbox), size_selector, FALSE, TRUE, 0); index = 0; while (font_sizes[index] != -1) {