Hi,
I've installed Intelli-Dolphin on a vanilla DX6 CE image, and the Default view of the class browser shows a black rectangle as the background of the added checkbox for viewing inherited methods. Is this a bug or a feature? ;-) I use WinXP MUI SP2. Regards, -- Esteban. |
Unfortunately this is a known problem - it is apparently related to how
the Dolphin Gui editor renders widgets - or something like that (I was pointed to the OA Blog entry "what you see is not always what you get: http://www.object-arts.com/content/blog/2005Dec14-BSM.html). There is a workaround (and maybe you know another one - as you seem quite handy on Windows hard core stuff). # The "Show Inherited Methods" checkbox can appear as a black box. This appears to be a problem with how Dolphin handles some XP Desktop Themes. The workaround is to adjust your theme to use the "Windows classic style" for Windows and Buttons in the Appearance tab of Display properties The alternative is to execute: IntelliDolphin unadjustDefaultViews (which will restore the old view without the inheritence checkbox). Or more permanently edit IntelliDolphin #initialize and comment out: patchBrowsersForShowInherited. As there is a button in the toolbar to show inherited, you might not want that one anyway. I quite like it because it sits next to the class/instance radio buttons which is the first place I look for all things related to that methods list. The checkbox also has an Alt-R keyboard mnemonic (which the toolbar icon doesn't). If anyone knows how to fix it - I would love a workaround (or if you know how to put a mnemonic on the toolbar icon, or can think of something else that could sit next to the radio buttons - contributions gladly accepted). Tim |
"TimM" <[hidden email]> wrote in message
news:[hidden email]... > Unfortunately this is a known problem - it is apparently related to how > the Dolphin Gui editor renders widgets - or something like that (I was > pointed to the OA Blog entry "what you see is not always what you get: > http://www.object-arts.com/content/blog/2005Dec14-BSM.html). That certainly explains why certain things don't paint correctly in the view composer, but in this case its more to do with the fact that the checkboxes just don't work correctly on top of one of our gradient filled toolbars. > > There is a workaround (and maybe you know another one - as you seem > quite handy on Windows hard core stuff). > > # The "Show Inherited Methods" checkbox can appear as a black box. This > appears to be a problem with how Dolphin handles some XP Desktop > Themes. ... Toolbars are a bit odd with the way they paint their background, particularly when themed. We are only using a toolbar as the container in this case because they have handy layout properties (wrapping to multiple lines when insufficient horizontal space is available), and because we'd implemented a gradient fill for them. We simply didn't test the case of using a checkbox, because we were only using radio buttons. Its a bit surprising that checkboxes don't work as radio buttons do (since they are all actually implemented by the same Windows button control), but that's the way it is. >...The workaround is to adjust your theme to use the "Windows > classic style" for Windows and Buttons in the Appearance tab of Display > properties > > The alternative is to execute: IntelliDolphin unadjustDefaultViews > (which will restore the old view without the inheritence checkbox). Or > more permanently edit IntelliDolphin #initialize and comment out: > patchBrowsersForShowInherited. > > As there is a button in the toolbar to show inherited, you might not > want that one anyway. I quite like it because it sits next to the > class/instance radio buttons which is the first place I look for all > things related to that methods list. The checkbox also has an Alt-R > keyboard mnemonic (which the toolbar icon doesn't). > > If anyone knows how to fix it - I would love a workaround (or if you > know how to put a mnemonic on the toolbar icon, or can think of > something else that could sit next to the radio buttons - contributions > gladly accepted). > You could just add a shortcut key for the menu/toolbar command. This is possible without editing the views since you can add your own accelerator keys, either programmatically, or through the user preferences inspector. This will have the additional advantage that it won't move the focus to the mode switch as the Alt mnemonics do. Regards Blair |
In reply to this post by Tim M
TimM wrote:
> If anyone knows how to fix it - I would love a workaround (or if you > know how to put a mnemonic on the toolbar icon, or can think of > something else that could sit next to the radio buttons - contributions > gladly accepted). I'm having some code here which dynamically adds toolbar buttons to classbrowsers. If this might be of any use for you I could wrap it up and send it over. CU, Udo |
Free forum by Nabble | Edit this page |