Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWTabControl TabHeight, TabPadding and TabRowHeight
#1
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)