mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
(qt) #3313:Long orign label can make torrent properites window arbitrarily wide
This commit is contained in:
parent
fab8e5e691
commit
3a8809e38f
1 changed files with 1 additions and 0 deletions
|
@ -924,6 +924,7 @@ Details :: createInfoTab( )
|
|||
hig->addRow( tr( "Hash:" ), myHashLabel = new SqueezeLabel );
|
||||
hig->addRow( tr( "Privacy:" ), myPrivacyLabel = new SqueezeLabel );
|
||||
hig->addRow( tr( "Origin:" ), myOriginLabel = new SqueezeLabel );
|
||||
myOriginLabel->setMinimumWidth( 325 ); // stop long origin strings from resizing the widgit
|
||||
hig->addRow( tr( "Comment:" ), myCommentBrowser = new QTextBrowser );
|
||||
const int h = QFontMetrics(myCommentBrowser->font()).lineSpacing() * 4;
|
||||
myCommentBrowser->setFixedHeight( h );
|
||||
|
|
Loading…
Reference in a new issue