[maemo-developers] How to make a image in a button displayed in its original size
From: Zhu, Peter J peter.j.zhu at intel.comDate: Thu Oct 18 12:45:49 EEST 2007
- Previous message: VMWare Chinook
- Next message: How to make a image in a button displayed in its original size
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I met a disgusting issue as applying a image defined in a gtkrc style to a GtkButton. It can't be displayed as original picture size but a very small size. The GtkButton doesn't have a child of GtkImage because sapwood gtk engine only supports BOX paint for button, no pic/image paint for gtkimage in my experience. To make it seen, the only way I found is of using gtk_widget_set_size_request() on the button. But this is ugly and can't change size dynamically with change of picture. Anybody here has such experience for such issue? Thanks, Peter
- Previous message: VMWare Chinook
- Next message: How to make a image in a button displayed in its original size
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]