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
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Fill dual brush color in ...
by
majid.ebru
[
Today
at 06:15:58 am]
Tools I made for my needs
by
zeljkoc
[
Today
at 05:20:14 am]
Lazarus 2.2.6 can't insta...
by
eldonfsr
[
Today
at 04:57:33 am]
How to download a file fr...
by
jmpessoa
[
Today
at 01:44:04 am]
Search in files
by
dbannon
[
Today
at 01:24:47 am]
Are We Dead Yet?
by
dbannon
[
Today
at 01:09:47 am]
[Closed] Holding form pos...
by
furious programming
[
Today
at 12:33:30 am]
May be an fpc issue
by
Curt Carpenter
[June 07, 2023, 09:52:49 pm]
Something wrong when i cl...
by
eljo
[June 07, 2023, 09:31:49 pm]
DBEdit - display setting ...
by
rvk
[June 07, 2023, 09:29:46 pm]
How to setup Exception-Ha...
by
ASerge
[June 07, 2023, 08:48:55 pm]
Lazarus for RISC OS
by
StefanRISCOS
[June 07, 2023, 08:17:46 pm]
Best way to include lots ...
by
Nicole
[June 07, 2023, 08:12:01 pm]
Insert variant array to e...
by
Nicole
[June 07, 2023, 08:09:05 pm]
Changes in "Search Result...
by
n7800
[June 07, 2023, 07:25:10 pm]
Filter improvments for "S...
by
n7800
[June 07, 2023, 07:00:53 pm]
[Solved] Can I use a font...
by
furious programming
[June 07, 2023, 05:29:19 pm]
Feature announcement: Fun...
by
Peter H
[June 07, 2023, 03:31:58 pm]
SQLITE3: TSQLQuery fails ...
by
upsidasi
[June 07, 2023, 03:24:50 pm]
[SOLVED] IDE freezing on ...
by
maurobio
[June 07, 2023, 02:25:15 pm]
ODBC System DSN connected...
by
LacaK
[June 07, 2023, 02:18:22 pm]
structured types structur...
by
Чебурашка
[June 07, 2023, 01:31:09 pm]
Access violation with use...
by
Martin_fr
[June 07, 2023, 12:55:49 pm]
[SOLVED] How to send line...
by
Slawek
[June 07, 2023, 12:08:07 pm]
Cannot connect to MariaDB...
by
TRon
[June 07, 2023, 11:10:35 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Qt5: I can't change buttons width (Read 274 times)
zoltanleo
Sr. Member
Posts: 475
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 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by Rik
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