RE: Zooming an image

2014-01-01 Thread Roger L. Whitcomb
how you have structured things, it is a little hard to tell. Thanks, ~Roger -Original Message- From: JLEIngenieros [mailto:jleingenie...@gmail.com] Sent: Monday, December 23, 2013 4:48 PM To: user@pivot.apache.org Subject: Re: Zooming an image Hello, my name is Javier At first, i think

Re: Zooming an image

2013-12-23 Thread JLEIngenieros
Hello, my name is Javier At first, i think is a good idea to resize the container BoxPane, in order to execute zoom, with image setted to fill. But here is a problem: the zoom only sets after mousemove or similar (panel is a BoxPane containing an image): int newWidth=(int)((float

Re: Zooming an image

2013-12-23 Thread Sandro Martini
Hi, sorry but none of your messages has been accepted because you are not a subscriber of our mailing lists ... take a look here to subscribe: http://pivot.apache.org/lists.html and then repost here. Otherwise only Nabble users can see them. Bye, Sandro -- View this message in context: htt

Re: Zooming an image

2011-02-18 Thread JohnRodey
Ah, ya that would work. Thanks greg! -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Zooming-an-image-tp2528274p2529092.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: Zooming an image

2011-02-18 Thread Greg Brown
Your app could programmatically resize the ImageView to get the correct zoom. For example you could put it in a BoxPane with horizontal and vertical alignment set to "center". G On Feb 18, 2011, at 1:48 PM, JohnRodey wrote: > > So I can set fill:true and preserveAspectRation:true to get a best

Re: Zooming an image

2011-02-18 Thread JohnRodey
So I can set fill:true and preserveAspectRation:true to get a best fit, but what about implementing a user zooming in/out? -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Zooming-an-image-tp2528274p2528820.html Sent from the Apache Pivot - Users mailing list arc

Re: Zooming an image

2011-02-18 Thread Greg Brown
If you set the "fill" style to true, resizing the ImageView will scale the image. On Feb 18, 2011, at 12:41 PM, JohnRodey wrote: > > I have a component in my GUI that I want to use to display an image and > support the following features. > > I want to support: > Fit to width/height > Custo