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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
TLazSerial : serial port ...
by
seppde
[
Today
at 11:09:39 am]
Remote desktop software i...
by
rvk
[
Today
at 10:45:54 am]
Omitting semicolon on las...
by
Zvoni
[
Today
at 10:25:16 am]
Lazarus Bugfix Release 4....
by
dbannon
[
Today
at 10:09:07 am]
FPC Unleashed (inline var...
by
440bx
[
Today
at 10:03:41 am]
[ANN] Unofficial FPC 3.3....
by
PascalDragon
[
Today
at 07:37:59 am]
[SOLVED] How to enter gen...
by
PascalDragon
[
Today
at 07:27:12 am]
AI Assist Python - to - P...
by
PascalDragon
[
Today
at 07:25:42 am]
Track windows cross-platf...
by
PascalDragon
[
Today
at 07:21:06 am]
How to remove a FORM from...
by
Martin_fr
[
Today
at 12:29:46 am]
Messing with Gemini AI an...
by
backprop
[April 09, 2026, 10:33:56 pm]
504 Gateway Timeout
by
Marc
[April 09, 2026, 10:28:28 pm]
Can /my/ AI help me with ...
by
schuler
[April 09, 2026, 09:27:43 pm]
I can write your README.m...
by
schuler
[April 09, 2026, 09:22:38 pm]
Hang
by
Handoko
[April 09, 2026, 05:42:39 pm]
RegExpr matchting empty s...
by
Thaddy
[April 09, 2026, 04:47:09 pm]
Closing application when ...
by
LeP
[April 09, 2026, 03:14:32 pm]
VST scale bug?
by
Espectr0
[April 09, 2026, 02:09:55 pm]
bomber command (inc)
by
speter
[April 09, 2026, 02:32:37 am]
[FPC 3.2.4, Windows] PTC ...
by
Roland57
[April 08, 2026, 08:17:27 pm]
Abbrevia extract failed
by
wp
[April 08, 2026, 06:15:29 pm]
Which quantized model wor...
by
gidesa
[April 08, 2026, 06:14:16 pm]
Fpcupdeluxe
by
Cascade
[April 08, 2026, 04:09:38 pm]
Changing the same record ...
by
LemonParty
[April 08, 2026, 03:42:51 pm]
Amigo programming languag...
by
paxscript
[April 08, 2026, 03:40:10 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TPageControl - tabs height (Read 7391 times)
Dibo
Hero Member
Posts: 1057
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: 1057
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