Atozed Forums
TIWTabControl TabHeight, TabPadding and TabRowHeight - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TIWTabControl TabHeight, TabPadding and TabRowHeight (/thread-2940.html)



TIWTabControl TabHeight, TabPadding and TabRowHeight - Lenfors - 11-29-2022

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