Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
TPageControl - tabs height
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
looping direction control...
by
cdbc
[
Today
at 07:46:42 am]
This is me back in Lazaru...
by
Handoko
[
Today
at 03:16:57 am]
Forum slow for others as ...
by
440bx
[
Today
at 03:04:21 am]
Win11 - How to start cons...
by
dculp
[
Today
at 12:21:51 am]
[SOLVED] Download link to...
by
Wings2018
[April 18, 2025, 10:37:08 pm]
Best way to exchange data...
by
Hansvb
[April 18, 2025, 10:16:58 pm]
Testing with SQLite3DataS...
by
1HuntnMan
[April 18, 2025, 10:01:55 pm]
Doing C-like linking of m...
by
domasz
[April 18, 2025, 09:45:42 pm]
2d "platform" game sugges...
by
TBMan
[April 18, 2025, 08:18:00 pm]
First it's a square, then...
by
TBMan
[April 18, 2025, 08:13:13 pm]
FPC 3.2.2 using Result wi...
by
Remy Lebeau
[April 18, 2025, 08:07:23 pm]
accessing array members i...
by
TRon
[April 18, 2025, 08:05:23 pm]
problem with easylazfreet...
by
Bart
[April 18, 2025, 06:40:34 pm]
My kernel cannot response...
by
TYDQ
[April 18, 2025, 04:23:48 pm]
ERROR:Generating PIC, but...
by
TYDQ
[April 18, 2025, 04:22:45 pm]
Feature announcement: Fun...
by
PascalDragon
[April 18, 2025, 02:53:37 pm]
FPC 3.2.2 fpc_chararray_t...
by
PascalDragon
[April 18, 2025, 02:47:47 pm]
Rainbow Dots Animated in ...
by
Boleeman
[April 18, 2025, 02:46:39 pm]
Edmond Harris Spiral: Ver...
by
Boleeman
[April 18, 2025, 02:37:32 pm]
Silver Pascal Coder - Lat...
by
silvercoder70
[April 18, 2025, 01:23:50 pm]
[SOLVED] SQLite3 REINDEX
by
CharlyTango
[April 18, 2025, 12:22:22 pm]
Is this Stupid? What do y...
by
JD
[April 18, 2025, 11:53:26 am]
Amoeba Animated: Not that...
by
Dzandaa
[April 18, 2025, 11:35:43 am]
THashedStringList - do we...
by
Thaddy
[April 18, 2025, 09:53:43 am]
Managing linked list as i...
by
cdbc
[April 18, 2025, 08:30:34 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TPageControl - tabs height (Read 7185 times)
Dibo
Hero Member
Posts: 1055
TPageControl - tabs height
«
on:
April 02, 2011, 11:59:49 pm »
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
Logged
Blaazen
Hero Member
Posts: 3241
POKE 54296,15
Re: TPageControl - tabs height
«
Reply #1 on:
April 03, 2011, 12:06:48 am »
Here on Qt when I use smaller font (I mean TPageControl.Font.Size) then tabs are smaller automagicly.
Logged
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21
Try Eye-Candy Controls:
https://sourceforge.net/projects/eccontrols/files/
Dibo
Hero Member
Posts: 1055
Re: TPageControl - tabs height
«
Reply #2 on:
April 03, 2011, 12:09:57 am »
Hm, on GTK font size is always this same
Logged
Avishai
Hero Member
Posts: 1021
Re: TPageControl - tabs height
«
Reply #3 on:
April 03, 2011, 12:17:11 am »
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
Logged
Lazarus Trunk / fpc 2.6.2 / Win32
Blaazen
Hero Member
Posts: 3241
POKE 54296,15
Re: TPageControl - tabs height
«
Reply #4 on:
April 03, 2011, 12:22:14 am »
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.
Logged
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21
Try Eye-Candy Controls:
https://sourceforge.net/projects/eccontrols/files/
Avishai
Hero Member
Posts: 1021
Re: TPageControl - tabs height
«
Reply #5 on:
April 03, 2011, 12:28:50 am »
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.
Logged
Lazarus Trunk / fpc 2.6.2 / Win32
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
TPageControl - tabs height
TinyPortal
© 2005-2018