TPageControl - tabs height lazarus / 31-LCL ---------------------------------------------------------------------- Dibo · 2011-04-02 21:59 Hi, Is any posibility to change tabs height? For example on GTK there is to much space wasting. I want more compact tabs - smaller font size, smaller height. The only solution is drawing own tabs? Regards ---------------------------------------------------------------------- Blaazen · 2011-04-02 22:06 Here on Qt when I use smaller font (I mean TPageControl.Font.Size) then tabs are smaller automagicly. ---------------------------------------------------------------------- Dibo · 2011-04-02 22:09 Hm, on GTK font size is always this same ---------------------------------------------------------------------- Avishai · 2011-04-02 22:17 I'm using Windows 7 so I don't know if it works the same on all systems, but as a work around, you can put the PageControl on a TPanel and set the TPanel.Font.Size to a smaller or larger font and it will be reflected in the Tabs.  You can also play with the settings of the TPanel border to make seem to disappear.  Not good, but if you really need it, it is one solution.  At least in Windows ---------------------------------------------------------------------- Blaazen · 2011-04-02 22:22 I rebuilt to GTK2 for a moment and it seems all font changes are ignored, no matter if TPageControl is on Form or Panel, if you change font directly or if you change ParentFont. ---------------------------------------------------------------------- Avishai · 2011-04-02 22:28 I guess it's different in Windows.  I just tested the TPanel solution and added 2 buttons.  One to make the font larger and one to make it smaller(TPanel font).  The TPageControl.Font.Size and Tab size were increased or decreased as expected.  Not much help though if you aren't working under Windows.