U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » DropList chameleonized...
DropList chameleonized... [message #3848] Fri, 30 June 2006 14:27 Go to previous message
mirek is currently offline  mirek
Messages: 14290
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).
 
Read Message
Read Message
Read Message
Previous Topic: FieldFrame -> EditFieldFrame, ViewFrame
Next Topic: TabCtrl news...
Goto Forum:
  


Current Time: Sat Apr 25 21:33:38 GMT+2 2026

Total time taken to generate the page: 0.00498 seconds