Re: [racket-users] problem of gui layout using side-by-side frames

2021-08-11 Thread Andrew Beyer
On Wed, Aug 11, 2021 at 7:44 PM Don Green  wrote:
> I am currently of the belief that I should refrain from using side-by-side 
> frames.

Maybe? Almost all desktop systems provide some way for users to easily
arrange common setups like this... do you need to manage this from
within your application at all or can you just punt it out to the
windowing system? (This has the added benefit of letting users make
other choices that might make more sense in unusual setups like tall
vertical monitors, multiple monitors that aren't the same resolution,
aren't aligned, etc... where strict side-by-side may not work or be
desirable.)

> The upshot is that I can then no longer use menus either because menus can 
> only exist in frames and I would need more that the single top-level frame.
> Any suggestions?
> I am currently thinking I should use the panel-tab with a couple of panels 
> each containing an editor-canvas and place buttons on these panels instead of 
> using menus.

My racket/gui experience is limited and rusty, so I'm not going to
comment on specifics. What I will say though, is that it seems to me
like you've been XY-ing this problem the last few threads and might
benefit from taking a step back. You may be more likely to get better
input if you could give a description of what you're ultimately trying
to achieve rather than suggesting solutions and problem solving the
little details out of context.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CACG9B3GC3EQ39bovMxiYFouf%2BsC63xVUPaJb2qQYHgAKTbW-PA%40mail.gmail.com.


[racket-users] problem of gui layout using side-by-side frames

2021-08-11 Thread Don Green

When I specify 2 frames to be side-by-side using racket/gui, I believe I 
would have no problem if all my prospective client platform did not have a 
vertical Operating System taskbars.
Since I do have such a taskbar I must use code that takes the width of the 
taskbar into account.
Since I intend to distribute to others who may have:
a) no vertical taskbar; or
b) a wider vertical taskbar; or 
c) multiple vertical taskbars
no single offset can be used and it is outside the scope of the racket/gui 
to know what the offset would need to be.
I am currently of the belief that I should refrain from using side-by-side 
frames.
The upshot is that I can then no longer use menus either because menus can 
only exist in frames and I would need more that the single top-level frame.
Any suggestions?
I am currently thinking I should use the panel-tab with a couple of panels 
each containing an editor-canvas and place buttons on these panels instead 
of using menus.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/55476319-ee52-46e4-8605-4f0822c806f8n%40googlegroups.com.