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
Duplicated icon in the Wi...
by
w click
[
Today
at 03:51:10 pm]
[SOLVED] LazReport
by
1HuntnMan
[
Today
at 03:50:38 pm]
BAScript - Simple scripti...
by
gidesa
[
Today
at 03:50:10 pm]
QuestionDlg does strange ...
by
SA.Blackmon
[
Today
at 03:41:21 pm]
[ANN] PasBuild 1.3.0 rele...
by
cdbc
[
Today
at 02:34:04 pm]
We are starting to use La...
by
gidesa
[
Today
at 02:27:56 pm]
[Solved] Help needed comp...
by
broutelichen
[
Today
at 01:51:53 pm]
SoundTracker Player Libra...
by
Gigatron
[
Today
at 01:35:38 pm]
Status of FPC 3.4.0 or FP...
by
Fred vS
[
Today
at 01:35:10 pm]
Delphi Magazine issues 1-...
by
cerdal
[
Today
at 01:05:49 pm]
How to start LAMW emulato...
by
RaketeMike
[
Today
at 12:16:26 pm]
lazarus information aand ...
by
LeP
[
Today
at 11:19:12 am]
Free Pascal for a small e...
by
dbannon
[
Today
at 10:36:13 am]
Howto : Double buffer wit...
by
biologic
[
Today
at 09:22:37 am]
How to determine the unkn...
by
LV
[
Today
at 08:28:40 am]
[ANN] fpGUI Toolkit v2.0....
by
Seenkao
[
Today
at 07:40:58 am]
My AGGPas examples
by
Graeme
[
Today
at 02:52:48 am]
Reporting a Bug? in Strin...
by
Bart
[
Today
at 01:48:34 am]
it2play - IT/S3M module r...
by
hukka
[
Today
at 12:47:05 am]
Reflection and Review in ...
by
jwdietrich
[February 14, 2026, 09:53:31 pm]
fpGUI Toolkit v2.0.1 has ...
by
cdbc
[February 14, 2026, 09:32:46 pm]
how to enable multihelper...
by
PascalDragon
[February 14, 2026, 06:30:05 pm]
Fast Canvas Library V1.05...
by
backprop
[February 14, 2026, 05:46:10 pm]
Are the source files for ...
by
Derz
[February 14, 2026, 05:12:27 pm]
Frustrating Error When us...
by
jamie
[February 14, 2026, 04:22:29 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Qt5: I can't change buttons width (Read 1124 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