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
TCHATGPT — An Artificial ...
by
Martin_fr
[
Today
at 12:21:40 pm]
What happened to CocoaWSC...
by
paweld
[
Today
at 12:08:13 pm]
Which Control should I us...
by
jamie
[
Today
at 12:05:43 pm]
Pdf Viewer in Pascal
by
Dzandaa
[
Today
at 11:44:26 am]
[New Component] ExtTabCtr...
by
d7_2_laz
[
Today
at 11:31:30 am]
Very rough version of a s...
by
hedgehog
[
Today
at 07:21:25 am]
Single and Double, Conver...
by
jamie
[
Today
at 12:00:51 am]
Lazarus Bugfix Release 4....
by
Martin_fr
[June 13, 2026, 11:02:41 pm]
Error with last fixes_3.2...
by
Fred vS
[June 13, 2026, 10:49:27 pm]
Lazarus 4.8 on Sourceforg...
by
Enos68
[June 13, 2026, 08:00:47 pm]
Can /my/ AI help me with ...
by
microxa
[June 13, 2026, 06:49:37 pm]
Conscious Artificial Inte...
by
Dzandaa
[June 13, 2026, 05:59:22 pm]
If FileExists(
by
Bart
[June 13, 2026, 05:57:26 pm]
SynEdit theme
by
Martin_fr
[June 13, 2026, 05:17:43 pm]
docked IDE and form capti...
by
Paolo
[June 13, 2026, 02:53:50 pm]
New version of LazMapView...
by
wp
[June 13, 2026, 12:09:27 pm]
PadXml 1.1.0 – Portable A...
by
AlexanderT
[June 13, 2026, 10:38:42 am]
Arkanoid
by
Tomi
[June 13, 2026, 09:46:46 am]
Interesting video
by
Joanna
[June 13, 2026, 06:24:53 am]
IndySecOpenSSL is now ava...
by
TheMouseAUS
[June 13, 2026, 03:49:17 am]
Message CM_ShowingChanged...
by
LeP
[June 13, 2026, 02:13:51 am]
Fast Canvas Library V1.05...
by
Gigatron
[June 13, 2026, 01:48:44 am]
[SOLVED]Program experienc...
by
Cainnech
[June 13, 2026, 12:19:17 am]
TATTabs - how to stop a 3...
by
bobonwhidbey
[June 13, 2026, 12:03:15 am]
If you are looking for Wi...
by
avra
[June 12, 2026, 07:37:10 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Qt5: I can't change buttons width (Read 1200 times)
zoltanleo
Hero Member
Posts: 522
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/LMDE7-x11-x86_64(gtk2/gtk3)/Fedora-44-wayland-x86_64(gtk2/gtk3)/ Kubuntu-24-x11-x86_64(qt5/qt6)/KDE Neon-wayland-x86_64(qt5/qt6)/Darwin Cocoa x86_64 (15.7.7):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 5.0.3 x86_64; 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