mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 09:02:14 +00:00 
			
		
		
		
	Change the way margin is used. This slightly improves quality.
This commit is contained in:
		@@ -71,11 +71,11 @@ Item{
 | 
				
			|||||||
        id: kterminal
 | 
					        id: kterminal
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        property int margin: appSettings.margin / screenScaling
 | 
					        property int margin: appSettings.margin / screenScaling
 | 
				
			||||||
        property int totalWidth: 2 * margin + width
 | 
					        property int totalWidth: Math.floor(parent.width / (screenScaling * fontWidth))
 | 
				
			||||||
        property int totalHeight: 2 * margin + height
 | 
					        property int totalHeight: Math.floor(parent.height / screenScaling)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        width: Math.floor(parent.width / (screenScaling * fontWidth))
 | 
					        width: totalWidth - 2 * margin
 | 
				
			||||||
        height: Math.floor(parent.height / screenScaling)
 | 
					        height: totalHeight - 2 * margin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        colorScheme: "cool-retro-term"
 | 
					        colorScheme: "cool-retro-term"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user