mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	QML UI: fix layout of Download page
The info text from the download process wasn't rendered correctly. maximumWidth ended being a recursive reference and as a result the text would render as very narrow and super-tall field. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									ef17c78e23
								
							
						
					
					
						commit
						478b5de9e7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -209,7 +209,7 @@ Kirigami.Page {
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			Controls.Label {
 | 
								Controls.Label {
 | 
				
			||||||
				Layout.maximumWidth: parent.width - download.width - quitbutton.width - rescanbutton.width
 | 
									Layout.fillWidth: true
 | 
				
			||||||
				text: divesDownloaded ? qsTr(" Downloaded dives") :
 | 
									text: divesDownloaded ? qsTr(" Downloaded dives") :
 | 
				
			||||||
							(manager.progressMessage != "" ? qsTr("Info:") + " " + manager.progressMessage : btMessage)
 | 
												(manager.progressMessage != "" ? qsTr("Info:") + " " + manager.progressMessage : btMessage)
 | 
				
			||||||
				wrapMode: Text.WrapAtWordBoundaryOrAnywhere
 | 
									wrapMode: Text.WrapAtWordBoundaryOrAnywhere
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue