mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
a?adido resize(en base a la imagen de fondo) en el constuctor de los widgets que lo necesitan para poder
posicionarse inicialmente
This commit is contained in:
parent
c52230a5fe
commit
06174deb7f
@ -43,7 +43,7 @@ NotificationsLabelWidget::NotificationsLabelWidget(QWidget * parent)
|
||||
imgLabel->setGraphicsEffect(effect);
|
||||
textLabel->setGraphicsEffect(effect2);
|
||||
|
||||
resize(203,120);
|
||||
resize(p.size());
|
||||
updatePosition();
|
||||
|
||||
}
|
||||
|
@ -38,8 +38,8 @@ PageLabelWidget::PageLabelWidget(QWidget * parent)
|
||||
//textLabel->setFont(QFont("courier new bold", 12));
|
||||
//textLabel->resize(100,25);
|
||||
|
||||
textLabel->setGeometry(imgLabel->geometry());
|
||||
|
||||
resize(p.size());
|
||||
updatePosition();
|
||||
/*QSize size = textLabel->sizeHint();
|
||||
|
||||
int w = width(); // returns screen width
|
||||
|
Loading…
x
Reference in New Issue
Block a user