[racket-dev] strange/wrong placement and sizing in racket/gui

From: Marijn (hkBst at gentoo.org)
Date: Thu Aug 11 08:20:23 EDT 2011

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/21/11 09:50, Marijn wrote:
> On 06/20/11 18:29, Matthew Flatt wrote:
>> I think I've found the problem and pushed a fix.
> 
> Thanks for the quick fix Matthew! 1) 2) and 3) are now working fine
> :) but I do believe borders are still broken. For example:
> 
> 
> #lang racket/gui
> 
> (define root (new frame% (label "Label")))
> 
> (define vp (new vertical-panel% (parent root) (vert-margin 5) (style
> '(border))))
> 
> (define vp2 (new vertical-panel% (parent vp) (horiz-margin 5) (style
> '(border))))
> 
> (define vp3 (new vertical-panel% (parent vp2) (vert-margin 5) (style
> '(border))))
> 
> (define btn (new button% (parent vp3) (label "button") (horiz-margin
> 5)))
> 
> (send root show #t)
> 
> 
> produces the attached window with just a button, but no borders for
> any of the panels...
> 
> Marijn

The above is still valid with yesterday's git (see original mail for
image attachment).

Marijn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5DyQcACgkQp/VmCx0OL2xcUgCgnQzryZY/1mw9NCny0JiA6DN5
/zgAoLgg2kACqajFD/VinfS6RoFXaHL6
=XmUg
-----END PGP SIGNATURE-----


Posted on the dev mailing list.