Changeset 10796


Ignore:
Timestamp:
Jun 18, 2010, 7:34:37 AM (12 years ago)
Author:
Longinus00
Message:

(qt) #3313:Long orign label can make torrent properites window arbitrarily wide

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/details.cc

    r10771 r10796  
    925925    hig->addRow( tr( "Privacy:" ), myPrivacyLabel = new SqueezeLabel );
    926926    hig->addRow( tr( "Origin:" ), myOriginLabel = new SqueezeLabel );
     927    myOriginLabel->setMinimumWidth( 325 ); // stop long origin strings from resizing the widgit
    927928    hig->addRow( tr( "Comment:" ), myCommentBrowser = new QTextBrowser );
    928929    const int h = QFontMetrics(myCommentBrowser->font()).lineSpacing() * 4;
Note: See TracChangeset for help on using the changeset viewer.