Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 13980
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: Fri May 17 18:28:45 CEST 2024

Total time taken to generate the page: 0.02932 seconds