Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
QT
»
Qt5: I can't change buttons width
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
would multi threading hel...
by
LeP
[
Today
at 03:15:34 pm]
Bass.dll equalizer unit
by
Boleeman
[
Today
at 02:46:39 pm]
Lazarus for Windows on aa...
by
Thaddy
[
Today
at 01:02:34 pm]
Difference in formatting ...
by
Hartmut
[
Today
at 09:30:18 am]
Rolling releases Lazarus[...
by
Thaddy
[
Today
at 09:25:54 am]
Lazarus Bugfix Release 4...
by
CM630
[
Today
at 08:02:52 am]
OPC client with Lazarus
by
TheMouseAUS
[
Today
at 04:56:43 am]
[Windows] UTF8 encoding w...
by
PascalDragon
[January 22, 2026, 09:51:05 pm]
Developing FreePascal on ...
by
ccrause
[January 22, 2026, 06:14:41 pm]
Lazarus in Windows allowe...
by
vinntec
[January 22, 2026, 06:01:29 pm]
Perlin Map 3D
by
Boleeman
[January 22, 2026, 05:47:15 pm]
PasTemplates - a go-like ...
by
CynicRus
[January 22, 2026, 05:35:57 pm]
Strange Error when I use ...
by
TYDQ
[January 22, 2026, 03:14:50 pm]
FPCupDeluxe unable to bui...
by
Martin_fr
[January 22, 2026, 02:57:15 pm]
TRichMemo install shows "...
by
vinntec
[January 22, 2026, 01:36:50 pm]
Register global hotkey
by
Thaddy
[January 22, 2026, 06:28:54 am]
X11Libre, finally and for...
by
Fred vS
[January 21, 2026, 10:20:53 pm]
What's wrong with my appl...
by
bourbon
[January 21, 2026, 09:04:40 pm]
How to observe the value ...
by
nouzi
[January 21, 2026, 06:26:13 pm]
Anti "churning" in solita...
by
TBMan
[January 21, 2026, 04:30:05 pm]
Perlin Noise Map With BGR...
by
Boleeman
[January 21, 2026, 01:36:13 pm]
Strange Mail from memo.mi...
by
Thaddy
[January 21, 2026, 01:27:19 pm]
[Solved] Lazreport. Sorti...
by
Petrus Vorster
[January 21, 2026, 11:39:09 am]
Regarding the issue of de...
by
Martin_fr
[January 21, 2026, 11:16:29 am]
Pleas help, Synapse / Ind...
by
patyit
[January 21, 2026, 10:25:29 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Qt5: I can't change buttons width (Read 1113 times)
zoltanleo
Hero Member
Posts: 509
Qt5: I can't change buttons width
«
on:
October 31, 2022, 10:37:49 pm »
Hi folks
I am creating buttons in embedded forms at runtime. I change their width at runtime so that the width of the button is equal to the height of the combobox component.
I manage to do it for win and gtk2 but not for Qt5
Can someone explain to me why this is happening?
My test project here
https://bitbucket.org/zoltanleo/runtime_panels/src/main/
More pictures:
qt5:
https://i.imgur.com/Wm2OEav.mp4
gkt2:
https://i.imgur.com/H0Nk1o6.mp4
win 10:
https://i.imgur.com/sFbIqQJ.mp4
Logged
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa x86_64 (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW
Sorry for my bad English, I'm using translator
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
QT
»
Qt5: I can't change buttons width
TinyPortal
© 2005-2018