From: Ralph T. <ra...@gm...> - 2006-01-06 17:41:35
|
This kind of thing: group() { panel() { static_text( name: "blah" ); } } now works well, but this kind of thing: tab_group() { panel() { panel() { static_text( name: "blah" ); } } } shows grey behind the static text widget (instead of the tab group texture, which is a subtle white-grey gradient on the default Windows XP visual style). This bug was present in previous versions of ASL too though, so there is no regression. I'll try to work on a fix tonight. There is also a bug that Foster mentioned where a button inside a group has a mysterious border around it. I investigated that last night but haven't found out why yet (it might be the way that the parent button [the group] handles the WM_CTLCOLORBUTTON message, but I'm not sure). Ralph On 1/5/06, Mat Marcus <mm...@em...> wrote: > > -----Original Message----- > > From: ado...@li... > > [mailto:ado...@li...] On > > Behalf Of Steve Tibbett > > Sent: Thursday, January 05, 2006 5:07 AM > > To: Thomas Witt; Mat Marcus > > Cc: ado...@li... > > Subject: RE: [Adobe-source-devel] group nesting issues windows > > > > > As a result, I am working with the idea that the text is getting > > > drawn, but something additional is getting drawn/erased and > > obscuring > > > the text in the group case. > > > > I'm guessing what you're seeing is the group box painting > > itself after the button has been painted and since the group > > box's extent covers the button, it would be erasing it. > > > > Controls are painted in the order they're created I believe, > > but this is also controlled by the WS_CLIPSIBLINGS window > > style. If this isn't set, then one button can paint over > > another one that's on top of it - it's an optimization thing. > > Perhaps setting this style will prevent what you're seeing. > > Thanks for the suggestion Steve. I read up on that option and explored su= ch > solutions for a while. In this case the issues turned out to be with the > panel windowproc. Ralph Thomas stepped in at the 11th hour and came up wi= th > a patch to clear up the main issues that Thomas Witt identified. While so= me > additional Win32 bugs remain to be cleared up, Release 1.0.12 should allo= w > him to make more progress. Please let us know. > > - Mat > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel > |