mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	divelist polish
- fix page margins (gridUnit / 2) - trip heading marker now stretches over the full length Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
		
							parent
							
								
									36e3c5485e
								
							
						
					
					
						commit
						531eace0c3
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
					@ -137,7 +137,8 @@ MobileComponents.Page {
 | 
				
			||||||
				anchors {
 | 
									anchors {
 | 
				
			||||||
					top: sectionText.bottom
 | 
										top: sectionText.bottom
 | 
				
			||||||
					left: parent.left
 | 
										left: parent.left
 | 
				
			||||||
					leftMargin: MobileComponents.Units.gridUnit / 2
 | 
										leftMargin: MobileComponents.Units.gridUnit * -2
 | 
				
			||||||
 | 
										rightMargin: MobileComponents.Units.gridUnit * -2
 | 
				
			||||||
					right: parent.right
 | 
										right: parent.right
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				color: subsurfaceTheme.accentColor
 | 
									color: subsurfaceTheme.accentColor
 | 
				
			||||||
| 
						 | 
					@ -170,7 +171,9 @@ MobileComponents.Page {
 | 
				
			||||||
			section.delegate: tripHeading
 | 
								section.delegate: tripHeading
 | 
				
			||||||
			header: MobileComponents.Heading {
 | 
								header: MobileComponents.Heading {
 | 
				
			||||||
				x: MobileComponents.Units.gridUnit / 2
 | 
									x: MobileComponents.Units.gridUnit / 2
 | 
				
			||||||
				y: x
 | 
									height: paintedHeight + MobileComponents.Units.gridUnit / 2
 | 
				
			||||||
 | 
									verticalAlignment: Text.AlignBottom
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				text: "Dive Log"
 | 
									text: "Dive Log"
 | 
				
			||||||
				opacity: 0.8 - startPage.opacity
 | 
									opacity: 0.8 - startPage.opacity
 | 
				
			||||||
				visible: opacity > 0
 | 
									visible: opacity > 0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue