mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-12 17:43:41 +02:00
2021-06-26 Fred Gleason <fredg@paravelsystems.com>
* Refactored the layout in rdairplay(1) to achieve cleaner separation of global and per-log UI elements. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -72,7 +72,8 @@ void PostCounter::setTimeMode(RDAirPlayConf::TimeMode mode)
|
||||
|
||||
QSize PostCounter::sizeHint() const
|
||||
{
|
||||
return QSize(200,60);
|
||||
return QSize(180,80);
|
||||
// return QSize(200,60);
|
||||
}
|
||||
|
||||
|
||||
@@ -181,10 +182,10 @@ void PostCounter::UpdateDisplay()
|
||||
p->setPen(QColor(text_color));
|
||||
p->setFont(subLabelFont());
|
||||
p->drawText((size().width()-2-p->
|
||||
fontMetrics().width(point))/2,22,point);
|
||||
fontMetrics().width(point))/2,32,point);
|
||||
p->setFont(bannerFont());
|
||||
p->drawText((size().width()-2-p->
|
||||
fontMetrics().width(state))/2,48,state);
|
||||
fontMetrics().width(state))/2,58,state);
|
||||
p->end();
|
||||
delete p;
|
||||
setIcon(pix);
|
||||
|
Reference in New Issue
Block a user