PictureDialog: fix window height
This commit is contained in:
		
							parent
							
								
									bb06af8a79
								
							
						
					
					
						commit
						392f35a96d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -232,7 +232,7 @@ void PictureDialog::addPreviousNextButtons() | |||
| 
 | ||||
| void PictureDialog::adaptDialogSize() | ||||
| { | ||||
|     int newDialogHeight = (960 * AppEnv::screenRatio()) + ui->jsonFrame->heightForWidth(width()); | ||||
|     int newDialogHeight = (536 * AppEnv::screenRatio()) + ui->jsonFrame->heightForWidth(width()); | ||||
|     if (naviEnabled) | ||||
|         newDialogHeight = newDialogHeight + layout()->menuBar()->height(); | ||||
|     const QSize windowSize(width(), newDialogHeight); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue