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

QLabel is clipped when placed in a QTabWidget.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • Some future release
    • 4.4.1
    • Widgets: Layout
    • None

    Description

      As seen in this example:

      #include <QtGui>

      int main(int argc, char *argv[])
      {
      QApplication app(argc, argv);

      QLabel* lbl = new QLabel("This is a really long string that has it's last letter cut");

      QWidget* cntr = new QWidget();
      QGridLayout* cntrGrid = new QGridLayout(cntr);
      cntrGrid->addWidget(lbl, 0,0);

      QTabWidget* viewOptions = new QTabWidget();
      viewOptions->addTab( cntr, "Sequence View" );

      viewOptions->show();
      return app.exec();
      }

      Attachments

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

        Activity

          People

            smd Jan Arve
            dettman Dean Dettman (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes