layouts: Adjust layout-sizes to the correct aspect-ratios
and fix some other issues, to make the layouts more consistent. The aspect-ratios of the layouts, should now match the intended aspect-ratios (12:7 and 16:5), with 3 decimal-digits of precision; either exactly, or rounded to be a little more square, so that the entire height of the panel will be used. Adding 0.001 to `width` in the `default`-outlines of the layouts, would make the layouts a little wider than the intended aspect-ratio. Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/691>
This commit is contained in:
		
				
					committed by
					
						
						Marge Bot
					
				
			
			
				
	
			
			
			
						parent
						
							41ed436dc8
						
					
				
				
					commit
					e610866129
				
			@ -1,12 +1,11 @@
 | 
			
		||||
---
 | 
			
		||||
outlines:
 | 
			
		||||
    default:       { width: 52,    height: 42 }
 | 
			
		||||
    change-view:   { width: 77.52, height: 42 }
 | 
			
		||||
    change-view-2: { width: 91.25, height: 42 }
 | 
			
		||||
    large:         { width: 54.76, height: 42 }
 | 
			
		||||
    spaceline:     { width: 157,   height: 42 }
 | 
			
		||||
    special:       { width: 64.76, height: 42 }
 | 
			
		||||
    special-2:     { width: 91.25, height: 42 }
 | 
			
		||||
    default:       { width: 53.76,  height: 42 }
 | 
			
		||||
    change-view:   { width: 80.64,  height: 42 }
 | 
			
		||||
    change-view-2: { width: 94.08,  height: 42 }
 | 
			
		||||
    spaceline:     { width: 188.16, height: 42 }
 | 
			
		||||
    special:       { width: 53.76,  height: 42 }
 | 
			
		||||
    special-2:     { width: 94.08,  height: 42 }
 | 
			
		||||
 | 
			
		||||
views:
 | 
			
		||||
    base:
 | 
			
		||||
@ -42,8 +41,6 @@ buttons:
 | 
			
		||||
        outline: "special-2"
 | 
			
		||||
        icon: "edit-clear-symbolic"
 | 
			
		||||
        action: "erase"
 | 
			
		||||
    "@":
 | 
			
		||||
        outline: "large"
 | 
			
		||||
    preferences:
 | 
			
		||||
        action: "show_prefs"
 | 
			
		||||
        outline: "special"
 | 
			
		||||
@ -68,8 +65,6 @@ buttons:
 | 
			
		||||
            set_view: "symbols"
 | 
			
		||||
        outline: "change-view"
 | 
			
		||||
        label: "*/="
 | 
			
		||||
    .:
 | 
			
		||||
        outline: "large"
 | 
			
		||||
    space:
 | 
			
		||||
        outline: "spaceline"
 | 
			
		||||
        text: " "
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user