Re: scale GtkImage?



On Mon, 3 Jul 2006 06:53:59 +1000
"Nick Watts" <fatalglory gmail com> wrote:

you can scale the GtkImage (most easily by using gdk_pixbuf_scale_simple()
), but you should keep in mind that scaling a pixbuf *up* will cause some
decrease in image quality.  For a scale this slight you may never notice,
but on the flipside, if a caption were to get way long, the image could come
out very kacky.

Is the caption meant to be editable?  You could use a multiline text editing
widget so that text would simply be wrapped instead of expanding the
widget.  And you could set it to inactive (uneditable) when you just want to
display it.


Caption may be different because of usage "gettext", 
after some thinking I stop on your solution: text wrapping.

Thanks all for replies



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]