Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Changing size of checkbox
Forum Updated to NodeBB v4.3 + New Features

Changing size of checkbox

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 2 Posters 2.8k Views 2 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.
  • M Offline
    M Offline
    msauer75
    wrote on last edited by
    #1

    Hi,

    how can I change the size of the rectangle of the checkbox? With the height property I can only change the height of the textfield. I want to create an application for linux and android which have to manage the different screen resolutions. On the android version, the size of the square is relative big to the text.
    Thank you for your help
    BR
    martin

    T 1 Reply Last reply
    0
    • M msauer75

      Hi,

      how can I change the size of the rectangle of the checkbox? With the height property I can only change the height of the textfield. I want to create an application for linux and android which have to manage the different screen resolutions. On the android version, the size of the square is relative big to the text.
      Thank you for your help
      BR
      martin

      T Offline
      T Offline
      Tom_H
      wrote on last edited by
      #2

      @msauer75 You shouldn't need to do that, checkboxes look fine on Android. But if you must:

      https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-checkbox

      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