<div dir="ltr"><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 24, 2014 at 8:49 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">At Fri, 22 Aug 2014 16:28:50 -0500, David Nelson wrote:<br>
> Why don't pane% and panel% honor the stretchable-width and<br>
> stretchable-height properties of their children.
<br></div></blockquote><div><snip> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
</div>
In the case that you'll show only one child at a time, though, I agree<br>
that the default you suggest seems sensible and useful. I've pushed<br>
that change.<br></blockquote><div><br></div><div>Thank you. The consistency with the rest of the classes makes it a bit friendlier.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
> 2) I want to arrange a canvas as a background behind other objects. After<br>
> playing with this, the only other things that seem to  reliably work in the<br>
> foreground are other canvases so I understand this would not be a typical<br>
> use.<br>
<br>
</div>Right. I've tried before and not succeeded in providing better support<br>
for drawing the background behind controls. I forget exactly why it<br>
doesn't work out, but it has to do with the way platform-specific<br>
toolkits draw controls. I think that putting a canvas with 'transparent<br>
over another canvas should work, but there may be Z-order issues, still.<br>
</blockquote><div> <br></div><div>Trying to create a cross platform framework that uses native controls is quite a challenge. I was surprised how well placing controls over a canvas worked on OS X. On the other hand the results on Linux showed just how challenging this is. For example, transparent canvas backgrounds worked fine on OS X, but on Linux (in a VM), it filled the background with white. <br>
<br></div><div>Thanks to all who were involved for a useful GUI framework. When I started work on our first generation program and test system several years ago, I dreaded the thought of having to write an X program for the UI. A friend directed me to Racket. My previous job was programming in Common Lisp, so picking up Racket was rather easy. Having the gui framework made it rather easy to throw together the UI so I could concentrate on creating the main programming state machine and the other threads to handle the various parts of the system.<br>
<br></div><div>-- David<br></div></div></div></div></div>