Atozed Forums

Full Version: TIWTabControl TabHeight, TabPadding and TabRowHeight
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

Having problems to figure out the relation between TabHeight, TabPadding and TabRowHeight in the TIWTabControl.

I want to set the TIWTabControl.ActiveTabFont.Size to soething dependent of my current scereen size, Eg. 16.
I figured out setting the TIWTabControl.TabPadding to (ActiveTabFont.Size Div 4) looks nice.
Then I set TIWTabControl.TabHeight to Round(ActiveTabFont.Size * 1.5) 

The problem is, how do I now calculate a value for TIWTabControl.TabRowHeight? There must be some relation between these parameters!

 Best regards, Mikael