mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	QML-UI: add dive date to the detail view
That one really bugged me... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									96470d7dbf
								
							
						
					
					
						commit
						3d7475b964
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		|  | @ -30,6 +30,17 @@ GridLayout { | |||
| 		Layout.columnSpan: 4 | ||||
| 		wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere | ||||
| 	} | ||||
| 	MobileComponents.Label { | ||||
| 		Layout.alignment: Qt.AlignRight | ||||
| 		id: dateLabel | ||||
| 		text: "Date: " | ||||
| 		opacity: 0.6 | ||||
| 	} | ||||
| 	MobileComponents.Label { | ||||
| 		text: date | ||||
| 		Layout.minimumWidth: Math.max(MobileComponents.Units.gridUnit * 4, paintedWidth) // helps vertical alignment throughout listview | ||||
| 		Layout.columnSpan: 3 | ||||
| 	} | ||||
| 
 | ||||
| 	MobileComponents.Label { | ||||
| 		Layout.alignment: Qt.AlignRight | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue