« Return to Thread: Change size and ratio of Gimp Preview

Re: Change size and ratio of Gimp Preview

by Torsten Neuer :: Rate this Message:

Reply to Author | View in Thread

Am Mittwoch, 16. April 2008 22:03:06 schrieb Nicol�s_Serrano_Mart�
nez_Santos:
> Thanks for the advice. I've tried using ZoomPreview and it adjust to
> the drawable ratio. If i create a rectangular drawable the widget
> will be rectangular, what i want (let's see if i can be clear) is to
> adjust the width and height of the preview widget. It's adjusted to
> the drawable ratio and the i don't managed to change it.

As far as I can see, the width and height of the widget can't be adjusted
manually.  If that is what you want, I would take GimpZoomPreview as a
starting point to write a new GimpPreview class.  It probably would be just a
copy of GimpZoomPreview with an additional constructor that allows setting
the maximum width and height of the widget (which are hardcoded into
GimpZoomPreview as it is now).


  Torsten


_______________________________________________
Gimp-developer mailing list
Gimp-developer@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

signature.asc (196 bytes) Download Attachment

 « Return to Thread: Change size and ratio of Gimp Preview