pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: Setting a minimum (enforced) size for the Display
Date Mon, 15 Nov 2010 12:32:42 GMT
One solution would be to have the native host respect the max/min size of the display. We might
be able to do this simply by having DisplayHost override getMaximumSize() and getMinimumSize().
Feel free to enter a JIRA ticket for this if you think it would be useful.
G

On Nov 14, 2010, at 11:00 PM, ChesStrategy wrote:

> 
> With regard to the original undesirable solution of the window resizing, and
> then flickering back to its resized-but-less-than-minimum size...
> 
> If there is a way to check that both the componentListener's sizeChanged()
> method was fired, as well as a mouseUp event, the sizeToFit() method could
> be called during the mouseUp event; if this was possible, the window would
> still do its flicker action, but at least the window would remain the
> minimum size of 800x600.
> 
> 
> -- 
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Setting-a-minimum-enforced-size-for-the-Display-tp1902028p1902693.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.


Mime
View raw message