mirror of
				https://github.com/YACReader/yacreader
				synced 2025-10-30 15:54:27 -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:
		| @ -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 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user