mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed set minimum size for Channel Logo Label
Fixed set minimum width for Channel Name Label to not stretch The MainWindow when the Channel name is longer git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1646 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
746bbda046
commit
e266b6b68f
@ -155,8 +155,10 @@ ChannelFeed::ChannelFeed(QWidget *parent)
|
||||
//added from ahead
|
||||
updateChannelList();
|
||||
|
||||
mChannelFont = QFont("MS SANS SERIF", 24);
|
||||
mChannelFont = QFont("MS SANS SERIF", 22);
|
||||
nameLabel->setFont(mChannelFont);
|
||||
|
||||
nameLabel->setMinimumWidth(20);
|
||||
|
||||
QTimer *timer = new QTimer(this);
|
||||
timer->connect(timer, SIGNAL(timeout()), this, SLOT(checkUpdate()));
|
||||
|
@ -110,8 +110,8 @@
|
||||
<widget class="QLabel" name="iconLabel">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>24</width>
|
||||
<height>24</height>
|
||||
<width>64</width>
|
||||
<height>64</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
@ -152,6 +152,9 @@ p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:600; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt;">Channel Name</span></p></body></html></string>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
Loading…
Reference in New Issue
Block a user