Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSpinBox buttons and arrows on EGLFS, XCB and Wayland backend
Qt 6.11 is out! See what's new in the release blog

QSpinBox buttons and arrows on EGLFS, XCB and Wayland backend

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 217 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DL5EU
    wrote on last edited by
    #1

    Dear all,

    I need help to understand the display of the up and down buttons and arrows of a QSpinBox on different backends.

    My application runs on a Raspberry Pi4 with a 4.3" display and touch screen. I have chosen EGLFS (the "fake" one). I have no X11, no wayland compositor installed. The application works. When I increase the font size of a QSpinBox, the box gets bigger and so do the up and down buttons and arrows. This allows the use with the touch screen. So far, so good.

    As I have learned, when there is no window manager, there are no window decorations (e.g. borders, title bars). This is one reason why I would like to run my application on X11 or wayland. This works when I choose the right platform on program startup. However, there is an important and very annoying difference between EGLFS and X11 or wayland. On X11 and wayland, the up and down buttons and arrows of the QSpinBox are far too small to be usable with the touch screen and the arrows are barely visible.

    On my Linux development box (Linux Mint 20, X11), I have the same problem. When I increase the font size of the QSpinBox, the box gets bigger but the buttons and arrows remain too small. On my Windows computer the buttons are larger but the arrows are still too small.

    Can anybody explain me why this is the case and how I can avoid this problem? For information, the QT version is 5.15.1 and I don't use style sheets.

    Thank you very much for your help!

    Kind regards,

    Ralf

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved