mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	When strings in dive details wrap, the line spacing is too tight in some circumstances. While not perfect, this change improves the situation somewhat. See #3263 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			422 B
		
	
	
	
		
			QML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			422 B
		
	
	
	
		
			QML
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0
 | 
						|
import QtQuick 2.11
 | 
						|
import QtQuick.Controls 2.4
 | 
						|
 | 
						|
Label {
 | 
						|
	id: myLabel
 | 
						|
	color: subsurfaceTheme.textColor
 | 
						|
	font.pointSize: subsurfaceTheme.smallPointSize
 | 
						|
	lineHeight: 0.7
 | 
						|
	property alias colorBackground: myLabelBackground.color
 | 
						|
 | 
						|
	background: Rectangle {
 | 
						|
		id: myLabelBackground
 | 
						|
		implicitWidth: myLabel.width
 | 
						|
		implicitHeight: myLabel.width
 | 
						|
		color: subsurfaceTheme.backgroundColor
 | 
						|
	}
 | 
						|
}
 | 
						|
 |