Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134429

spinbox up/down buttons not hidding correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.8.1
    • None

    Description

      I'm using a spinbox of which I want to hide the up/down buttons. So I use this NoButtons symbol as follow :

       
      distanceBox->setButtonSymbols(QAbstractSpinBox::NoButtons);

       
      The buttons seems hidden, but their layout is still here. I mean the space they should occupy is still here. And so the text appear truncated even though the box is big enough. See my text on the picture which should be '116.96 mm'.

       

      Expected behavior: the layout of the button is removed, so that the text can expand on the whole box.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            paddle Pierre B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes