mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	mobile UI: fix alignment issue in dive details view
The 'Map it' button could overlap with the dive number below, depending on font size. This fixes the issue. Reported-by: Peter Reinold <mcc.nash@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									caabf1b888
								
							
						
					
					
						commit
						ba201eabc7
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -59,6 +59,7 @@ Item { | ||||||
| 		TemplateButton { | 		TemplateButton { | ||||||
| 			id: gpsButton | 			id: gpsButton | ||||||
| 			anchors.right: parent.right | 			anchors.right: parent.right | ||||||
|  | 			anchors.verticalCenter: locationText.verticalCenter | ||||||
| 			enabled: gps !== "" | 			enabled: gps !== "" | ||||||
| 			text: qsTr("Map it") | 			text: qsTr("Map it") | ||||||
| 			onClicked: { | 			onClicked: { | ||||||
|  | @ -70,7 +71,7 @@ Item { | ||||||
| 			id: dateRow | 			id: dateRow | ||||||
| 			anchors { | 			anchors { | ||||||
| 				left: locationText.left | 				left: locationText.left | ||||||
| 				top: locationText.bottom | 				top: gpsButton.bottom | ||||||
| 				topMargin: Kirigami.Units.smallSpacing | 				topMargin: Kirigami.Units.smallSpacing | ||||||
| 				bottom: numberText.bottom | 				bottom: numberText.bottom | ||||||
| 
 | 
 | ||||||
|  | @ -102,7 +103,7 @@ Item { | ||||||
| 			color: subsurfaceTheme.textColor | 			color: subsurfaceTheme.textColor | ||||||
| 			anchors { | 			anchors { | ||||||
| 				right: parent.right | 				right: parent.right | ||||||
| 				top: locationText.bottom | 				top: gpsButton.bottom | ||||||
| 				topMargin: Kirigami.Units.smallSpacing | 				topMargin: Kirigami.Units.smallSpacing | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue