[fxruby-users] Is there a way to enforce a minimum (app) window size?

Paul Carvalho tester.paul at gmail.com
Wed Mar 31 17:01:34 EDT 2010


You can see the bug using the button.rb example program.

Change "DECOR_ALL"  to: "DECOR_TITLE|DECOR_STRETCHABLE|DECOR_CLOSE"

Now, when you resize the window using the status bar drag-corner (the first
time), it stops at the minimum size to show all the elements. (good)

Drag the status bar corner again, and I see the window shrinks within the
window.  It looks ugly. (not good)

I'm using an older version of Fox (1.6.28) and FXRuby (1.6.12) and I don't
have the time right now to try the example on newer/more recent versions.
 I'd like to, but I'm pressed for time to finish my current project.  If I
can, I'll try it out on newer builds later - maybe in a few weeks.

Thanks for the feedback about the mailing list.

Cheers.


On 31 March 2010 12:15, Lyle Johnson wrote:

> On Tue, Mar 30, 2010 at 4:32 PM, Paul Carvalho wrote:
>
> > I also changed the statusbar property to
> remove STATUSBAR_WITH_DRAGCORNER.
> >  Personally, I like that UI style, but it does some funky UI bug thing if
> > you drag the status bar instead of the window edge.
> > I can live without the bug.. especially since I'll likely be passing my
> app
> > onto other testers. ;)
>
> That sounds like a bug in FOX itself, not the FXRuby layer. If it's
> important, I'd try posting to the FOX mailing list to see if anyone
> has a workaround.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100331/8f5a6791/attachment-0001.html>


More information about the fxruby-users mailing list