Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
[SOLVED] Button form center
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
Text Fill (Memo)
by
paweld
[
Today
at 09:09:13 am]
Qt6/Wayland clipboard: pa...
by
AlexTP
[
Today
at 08:56:58 am]
Questions about TFuncSeri...
by
hedgehog
[
Today
at 08:37:54 am]
declaring Array
by
440bx
[
Today
at 06:40:37 am]
Pocketbase
by
PierceNg
[
Today
at 06:29:04 am]
ADUG Symposium 2026
by
Mathias Burbach
[
Today
at 04:45:57 am]
Hello! Anything new?
by
dbannon
[
Today
at 03:00:38 am]
Problem with drawing orde...
by
wp
[
Today
at 01:09:06 am]
Any way to "embed" Window...
by
jamie
[
Today
at 12:55:37 am]
CryptoLib4Pascal
by
Xor-el
[
Today
at 12:39:35 am]
GTK3 : Icons have borders...
by
Schmitty2005
[March 13, 2026, 11:31:58 pm]
CONCAT formula
by
veb86
[March 13, 2026, 05:20:42 pm]
DataPort StopBits and Flo...
by
Thaddy
[March 13, 2026, 02:14:16 pm]
TChart: Wrong default val...
by
wp
[March 13, 2026, 02:03:58 pm]
Lazarus Bugfix Release 4....
by
JuhaManninen
[March 13, 2026, 10:05:03 am]
88 year D. Knuth changes ...
by
Thaddy
[March 13, 2026, 07:31:38 am]
could Ardour's YTK be use...
by
dbannon
[March 13, 2026, 05:20:21 am]
interface and GUID someth...
by
egsuh
[March 13, 2026, 03:31:00 am]
CADSys4 3D.
by
maurog
[March 13, 2026, 01:00:05 am]
UOS - pre-compiled librar...
by
Fred vS
[March 13, 2026, 12:34:06 am]
Pipewire API
by
Fred vS
[March 12, 2026, 10:11:02 pm]
TSplitter color property ...
by
valdir.marcos
[March 12, 2026, 09:20:11 pm]
ShortStrings vs long stri...
by
valdir.marcos
[March 12, 2026, 08:55:02 pm]
LazPaint (alpha-blending,...
by
CM630
[March 12, 2026, 08:38:30 pm]
Z80 ZX Spectrum and Syste...
by
d2010
[March 12, 2026, 07:58:28 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Button form center (Read 736 times)
Pe3s
Hero Member
Posts: 641
[SOLVED] Button form center
«
on:
October 16, 2022, 09:55:04 am »
Hello how can I set the buttons in the middle of the mold so that the spacing between them does not change when resizing ?
«
Last Edit: October 16, 2022, 12:40:08 pm by Pe3s
»
Logged
howardpc
Hero Member
Posts: 4144
Re: Button form center
«
Reply #1 on:
October 16, 2022, 10:29:27 am »
If you want not only the spacing between but the buttons' sizes not to change on resizing, one way would be to put the buttons in their own borderless panel that tightly contains them, coloured to match the background.
Logged
Pe3s
Hero Member
Posts: 641
Re: Button form center
«
Reply #2 on:
October 16, 2022, 12:39:50 pm »
@howardpc, Thank you for your help. Have a nice day
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
[SOLVED] Button form center
TinyPortal
© 2005-2018