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 {
 | 
					                Text {
 | 
				
			||||||
                    id: sizeText
 | 
					                    id: sizeText
 | 
				
			||||||
 | 
					                    anchors.left: pixItem.left
 | 
				
			||||||
                    text: i18n("File size: %1", KCoreAddons.Format.formatByteSize(fileSize))
 | 
					                    text: i18n("File size: %1", KCoreAddons.Format.formatByteSize(fileSize))
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                Text {
 | 
					                Text {
 | 
				
			||||||
                    id: resolutionText
 | 
					                    id: resolutionText
 | 
				
			||||||
 | 
					                    anchors.left: pixItem.left
 | 
				
			||||||
                    text: i18n("Resolution: %1 x %2", resolution.width, resolution.height)
 | 
					                    text: i18n("Resolution: %1 x %2", resolution.width, resolution.height)
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                Text {
 | 
					                Text {
 | 
				
			||||||
                    id: ratingText
 | 
					                    id: ratingText
 | 
				
			||||||
 | 
					                    anchors.left: pixItem.left
 | 
				
			||||||
                    text: {
 | 
					                    text: {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        if (rating == DanbooruPost.Safe) {
 | 
					                        if (rating == DanbooruPost.Safe) {
 | 
				
			||||||
| 
						 | 
					@ -283,6 +286,7 @@ Rectangle {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            model: danbooruModel
 | 
					            model: danbooruModel
 | 
				
			||||||
            delegate: viewDelegate
 | 
					            delegate: viewDelegate
 | 
				
			||||||
 | 
					            interactive: true
 | 
				
			||||||
            focus: true
 | 
					            focus: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            Component.onCompleted: { currentIndex = -1; forceActiveFocus()}
 | 
					            Component.onCompleted: { currentIndex = -1; forceActiveFocus()}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue