Ignore:
Timestamp:
Jun 26, 2010, 5:15:29 PM (12 years ago)
Author:
Longinus00
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/qt/details.cc

    r10771 r10867  
    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.