[fxruby-users] Is there a way to enforce a minimum (app) window size?
Lyle Johnson
lyle at lylejohnson.name
Tue Mar 30 16:59:39 EDT 2010
On Tue, Mar 30, 2010 at 3:24 PM, Paul Carvalho <tester.paul at gmail.com> wrote:
> I created a simple app and need to allow the DECOR_RESIZE option.
> Unfortunately, it means that the user can shrink the window size to
> something smaller than what all the important elements require.
> Is there a way to enforce a minimum window size? i.e. so that the window
> can be resized but not smaller than, say 200x200?
> I googled this but didn't turn up anything for FXRuby. Please let me know
> if there's a way to do this.
I have not tried this, but see this question from the FOX FAQ:
http://www.fox-toolkit.net/faq#TOC-How-can-I-specify-a-minimum-window-
Hope this helps,
Lyle
More information about the fxruby-users
mailing list