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
Cannot get FTP to work
by
garymq
[
Today
at 02:54:07 am]
Infernal error when decom...
by
Fibonacci
[
Today
at 12:56:28 am]
Linking a PortAudio stati...
by
Fred vS
[May 18, 2026, 10:53:41 pm]
Feature suggestion - repe...
by
ASerge
[May 18, 2026, 09:15:26 pm]
Anubis activated
by
440bx
[May 18, 2026, 09:14:22 pm]
When will lazarus actuall...
by
Curt Carpenter
[May 18, 2026, 08:59:21 pm]
wildcard utilities list
by
mas steindorff
[May 18, 2026, 08:35:41 pm]
StringGrid: which is "cur...
by
Bart
[May 18, 2026, 08:18:51 pm]
LazNodeEditor (visual nod...
by
fcu
[May 18, 2026, 07:16:40 pm]
TShellTreeView TopItem
by
Paolo
[May 18, 2026, 06:53:15 pm]
duplicate an Object at ru...
by
Thaddy
[May 18, 2026, 03:57:51 pm]
How to wait until a WebDA...
by
Hartmut
[May 18, 2026, 03:47:14 pm]
Can /my/ AI help me with ...
by
microxa
[May 18, 2026, 01:16:57 pm]
Nothing but chaotic attem...
by
mdalacu
[May 18, 2026, 12:45:46 pm]
Flamerobin error-message
by
Zvoni
[May 18, 2026, 09:11:06 am]
search via TSQLQuery
by
Zvoni
[May 18, 2026, 08:55:43 am]
Can I enter MySQL prompt ...
by
Zvoni
[May 18, 2026, 08:50:42 am]
TLazSerial : serial port ...
by
mas steindorff
[May 17, 2026, 10:50:34 pm]
PopupMenu on dock menu
by
systemgvp
[May 17, 2026, 08:32:50 pm]
[SOLVED] Dark Theme
by
Hansvb
[May 17, 2026, 07:29:22 pm]
Bug with constref?
by
LemonParty
[May 17, 2026, 07:15:45 pm]
FPC Unleashed (inline var...
by
Okoba
[May 17, 2026, 03:49:31 pm]
is this code correct?
by
Thaddy
[May 17, 2026, 03:23:29 pm]
Anubis's website security...
by
ALLIGATOR
[May 17, 2026, 02:45:52 pm]
Pure Pascal LZ4, LZ5 and ...
by
LemonParty
[May 17, 2026, 01:38:07 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Qt5: I can't change buttons width (Read 1195 times)
zoltanleo
Hero Member
Posts: 515
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