Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » DropList chameleonized...
DropList chameleonized... [message #3848] |
Fri, 30 June 2006 14:27 |
|
mirek
Messages: 14105 Registered: November 2005
|
Ultimate Member |
|
|
This one was tricky: Clearlooks or MacOS drop buttons are put "outside" of Ctrl frame (in U++ terms), therefore it needed a little bit of thinking to get it right...
The tricky part is that in U++, we are used to adding more buttons to DropList-like Ctrls, which would look ugly here, moreover we are not able to put things outside "zero" frame.
Therefore: DropBox class now adds a frame to Ctrl that looks like themed "ComboBox" (DropBox is its self frame). This frame is not "zero" one, but second to zero.
If there is no zero decorative frame assigned, DropBox (and derived widgets like DropList) have (well, should have at least) themed environment appearance. If you assign any decorative zero frame, DropBox will no more draw the decorative edge (leaving that to the assigned frame) and will just manage the button, changed to squared appearance.
BTW, at this moment, U++ has superior theming to Firefox or Openoffice here - they simply gave up and draw that rounded singlesided button inside the squared edge.
Mirek
P.S.: I am leaving for one week now... (a holiday trip to Italy).
|
|
|
|
|
Goto Forum:
Current Time: Fri Nov 01 00:09:30 CET 2024
Total time taken to generate the page: 0.01050 seconds
|