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

QLabel is clipped when placed in a QTabWidget.

XMLWordPrintable

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

      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();
      }

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes