Results 1 to 2 of 2

Thread: QPushbutton Flat property and icon appearance.

  1. #1
    Join Date
    Mar 2006
    Posts
    47
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default QPushbutton Flat property and icon appearance.

    Hi,
    Previously i am working on QT4.1 and setting push button's icon and setting Flat property to true.
    But when same project is compiling and running with the QT4.2.0 then icons are moving with mouse click or when the form load some icons are already moved and not appearing properly.
    but when i set Flat property to false then the icons are not moving with mouse click and properly appearing.

    My requirement is show push Button clickable so i am setting Flat property of button to true.


    How can i set the Flat property of button to true and icon is not moved when form load and not moved by mouse click.

    Thanks and Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QPushbutton Flat property and icon appearance.

    Could you show a minimal compilable example which reproduces the problem?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.