mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-25 07:49:12 +00:00
changed size
This commit is contained in:
parent
bb25700094
commit
45b0fa7708
@ -37,7 +37,7 @@ NotifyWidget::NotifyWidget(int pos,QWidget *parent) :
|
||||
TomahawkUtils::DpiScaler::setFontSize(this->ui->titel->fontInfo().pointSize());
|
||||
m_scaler = new TomahawkUtils::DpiScaler(this);
|
||||
ui->closeButton->setMaximumWidth(ui->closeButton->height());
|
||||
QSize size = m_scaler->scaled(350, 90);
|
||||
QSize size = m_scaler->scaled(300, 80);
|
||||
setMaximumSize(size);
|
||||
setMinimumSize(size);
|
||||
resize(size);
|
||||
@ -59,6 +59,7 @@ void NotifyWidget::display(const Notification ¬ification)
|
||||
m_moveTimer->setInterval(3);
|
||||
connect( m_moveTimer, SIGNAL(timeout()), this, SLOT(slotMove()));
|
||||
m_moveTimer->start();
|
||||
snoreDebug( SNORE_DEBUG ) << size();
|
||||
}
|
||||
|
||||
void NotifyWidget::update(const Notification ¬ification)
|
||||
|
Loading…
x
Reference in New Issue
Block a user