11-29-2022, 01:39 PM
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
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