Line up text with the thumbnail
This commit is contained in:
		
					parent
					
						
							
								857d34c422
							
						
					
				
			
			
				commit
				
					
						7854974891
					
				
			
		
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -239,15 +239,18 @@ Rectangle {
 | 
			
		|||
                }
 | 
			
		||||
                Text {
 | 
			
		||||
                    id: sizeText
 | 
			
		||||
                    anchors.left: pixItem.left
 | 
			
		||||
                    text: i18n("File size: %1", KCoreAddons.Format.formatByteSize(fileSize))
 | 
			
		||||
                }
 | 
			
		||||
                Text {
 | 
			
		||||
                    id: resolutionText
 | 
			
		||||
                    anchors.left: pixItem.left
 | 
			
		||||
                    text: i18n("Resolution: %1 x %2", resolution.width, resolution.height)
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                Text {
 | 
			
		||||
                    id: ratingText
 | 
			
		||||
                    anchors.left: pixItem.left
 | 
			
		||||
                    text: {
 | 
			
		||||
 | 
			
		||||
                        if (rating == DanbooruPost.Safe) {
 | 
			
		||||
| 
						 | 
				
			
			@ -283,6 +286,7 @@ Rectangle {
 | 
			
		|||
 | 
			
		||||
            model: danbooruModel
 | 
			
		||||
            delegate: viewDelegate
 | 
			
		||||
            interactive: true
 | 
			
		||||
            focus: true
 | 
			
		||||
 | 
			
		||||
            Component.onCompleted: { currentIndex = -1; forceActiveFocus()}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue