View Single Post
Posts: 341 | Thanked: 607 times | Joined on Dec 2008
#108
Originally Posted by conny View Post
That's nice! Thanks


I just tested that and in my case calling hildon_gtk_widget_set_theme_size(button, HILDON_SIZE_AUTO) or not doesn't make a difference. The result is both times like on the screenshots earlier. I guess it's because the button is scaling itself to the surrounding hbox container.

Still I think it's important to know. I use almost not stock elements anymore, but I'm sure there are many apps out there which do.
Maybe you'd like to add this information here:
http://wiki.maemo.org/Using_Fremantle_Widgets

And maybe we should continue this discussion some where else as it has not much to do with the topic anymore How about here:
http://talk.maemo.org/showthread.php?t=29500
You have to set it to HILDON_SIZE_FINGER_HEIGHT. HILDON_SIZE_AUTO is what it does by default. The point is that the theme engine can choose graphics that are not meant to be scalable in height and thus can look better. It will also ensure consistent sizing of the widgets.

I will have a look at the links you mentioned, thanks.
 

The Following 2 Users Say Thank You to kanishou For This Useful Post: