mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 14:42:51 -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
2 changed files with 8 additions and 3 deletions
|
@ -155,9 +155,11 @@ ChannelFeed::ChannelFeed(QWidget *parent)
|
||||||
//added from ahead
|
//added from ahead
|
||||||
updateChannelList();
|
updateChannelList();
|
||||||
|
|
||||||
mChannelFont = QFont("MS SANS SERIF", 24);
|
mChannelFont = QFont("MS SANS SERIF", 22);
|
||||||
nameLabel->setFont(mChannelFont);
|
nameLabel->setFont(mChannelFont);
|
||||||
|
|
||||||
|
nameLabel->setMinimumWidth(20);
|
||||||
|
|
||||||
QTimer *timer = new QTimer(this);
|
QTimer *timer = new QTimer(this);
|
||||||
timer->connect(timer, SIGNAL(timeout()), this, SLOT(checkUpdate()));
|
timer->connect(timer, SIGNAL(timeout()), this, SLOT(checkUpdate()));
|
||||||
timer->start(1000);
|
timer->start(1000);
|
||||||
|
|
|
@ -110,8 +110,8 @@
|
||||||
<widget class="QLabel" name="iconLabel">
|
<widget class="QLabel" name="iconLabel">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>24</width>
|
<width>64</width>
|
||||||
<height>24</height>
|
<height>64</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<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;">
|
</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>
|
<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>
|
||||||
|
<property name="scaledContents">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue