From: <bra...@om...> - 2005-08-03 01:30:40
|
Alex Tweedly wrote on 08/02/2005 06:01:08 PM: > Another approach (not quite so simple, I'm afraid) would be to define > your own background handler (this idea and code stolen from the > resourceEditor's way of doing gridlines). This works fine (as far as I > can tell) on Windows - and should, I hope, work on other systems as well > (assuming the resourceEditor's gridlines work) I tried it on my Mac and it worked great. Thanks, Alex! This seems like a pretty good workaround to this problem. Since the image components are invisible, they don't seem to cause any problems overlapping with other widgets, and the colors are actually drawn on the panel itself. The only drawback is that I can't easily see these colors in the Resource Editor as I'm editing a layout. Eventually it might be nice to have something like this integrated into PythonCard as a new widget so that it could be handled specially by the Resource Editor. |