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 » U++ Library support » U++ Widgets - General questions or Mixed problems » Missing Functions for Layouter
Re: Missing Functions for Layouter [message #10752 is a reply to message #10747] Fri, 27 July 2007 15:26 Go to previous messageGo to previous message
Zardos is currently offline  Zardos
Messages: 62
Registered: April 2007
Member
luzr wrote on Fri, 27 July 2007 13:19

Should not these constants rather be chameleon variables?

Why Pusher::GetStdSize?




Ok, I will move necessary constants to chameleon. I will also reduce the new constants to a minimum and remove all constants related to Layout engines.

Pusher: GetStdSize:
I thought if someone derives from it, there would be a - hopefully - usable GetStdSize.
But no problem I will remove it.


Additional changes I discovered useful while programming my layouter:

I will more concentrate on GetMinSize(), because here it is relative clear what is meant: The minimum size which will not truncate an information (labels, text, ...).

For some controls - like buttons - I will supply GetStdSize().
For example I will add a small margin to the left and right of the button and make sure the button has a minimum default size.


Since my layouter is nearly complete I will soon start with checking and implementing GetMinSize(), GetStdSize() for some other controls and post the new patch for review.

I leave out GetMaxSize completely, because currently I have no clue what could be useful values for it.


Thanks,
Ralf
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Refresh(), Paint(Draw& w), or something else nearby?
Next Topic: there is no fontpusher class (just checking)
Goto Forum:
  


Current Time: Mon Apr 28 23:15:02 CEST 2025

Total time taken to generate the page: 0.00731 seconds