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
				
			@ -3,35 +3,37 @@
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
outlines:
 | 
			
		||||
    default:       { width: 52,     height: 42 }
 | 
			
		||||
    change-view:   { width: 70.65,  height: 42 }
 | 
			
		||||
    change-view-2: { width: 86.84,  height: 42 }
 | 
			
		||||
    spaceline:     { width: 103.03, height: 42 }
 | 
			
		||||
    special:       { width: 41.21,  height: 42 }
 | 
			
		||||
    special-2:     { width: 70.65,  height: 42 }
 | 
			
		||||
    special-3:     { width: 86.84,  height: 42 }
 | 
			
		||||
    default:       { width: 48.872,  height: 42 }
 | 
			
		||||
    change-view:   { width: 73.308,  height: 42 }
 | 
			
		||||
    change-view-2: { width: 85.526,  height: 42 }
 | 
			
		||||
    fill:          { width: 97.744,  height: 42 }
 | 
			
		||||
    placeholder:   { width: 48.872,  height: 42 }
 | 
			
		||||
    spaceline:     { width: 134.398, height: 42 }
 | 
			
		||||
    special:       { width: 48.872,  height: 42 }
 | 
			
		||||
    special-2:     { width: 73.308,  height: 42 }
 | 
			
		||||
    special-3:     { width: 85.526,  height: 42 }
 | 
			
		||||
 | 
			
		||||
views:
 | 
			
		||||
    base:
 | 
			
		||||
        - "q w e r t z u i o p ü"
 | 
			
		||||
        - "a s d f g h j k l ö ä"
 | 
			
		||||
        - "show_upper y x c v b n m BackSpace"
 | 
			
		||||
        - "show_numbers ? !  preferences ' space , . Return"
 | 
			
		||||
        - "show_upper y x c v b n m -- BackSpace"
 | 
			
		||||
        - "show_numbers preferences ? ' space , . Return"
 | 
			
		||||
    upper:
 | 
			
		||||
        - "Q W E R T Z U I O P Ü"
 | 
			
		||||
        - "A S D F G H J K L Ö Ä"
 | 
			
		||||
        - "show_upper Y X C V B N M BackSpace"
 | 
			
		||||
        - "show_numbers - _  preferences \" space , . Return"
 | 
			
		||||
        - "show_upper Y X C V B N M -- BackSpace"
 | 
			
		||||
        - "show_numbers preferences ! \" space - _ Return"
 | 
			
		||||
    numbers:      
 | 
			
		||||
        - "1 2 3 4 5 6 7 8 9 0"
 | 
			
		||||
        - "@ * + - = ( ) ~ < >"
 | 
			
		||||
        - "show_symbols # & / \\ √ ; : BackSpace"
 | 
			
		||||
        - "show_letters ? !  preferences _ space , . Return"
 | 
			
		||||
        - "show_symbols # & / \\ √ ; : -- BackSpace"
 | 
			
		||||
        - "show_letters preferences ? _ space , . Return"
 | 
			
		||||
    symbols:
 | 
			
		||||
        - "€ $ £ ¥ % | § µ [ ]"
 | 
			
		||||
        - "© ® § ` ^ { } · ¡ ¿"
 | 
			
		||||
        - "show_numbers « » ÷ × “ ” „ BackSpace"
 | 
			
		||||
        - "show_letters  preferences - space , . Return"
 | 
			
		||||
        - "show_numbers « » ÷ × “ ” „ -- BackSpace"
 | 
			
		||||
        - "show_letters preferences ! - space , . Return"
 | 
			
		||||
 | 
			
		||||
buttons:
 | 
			
		||||
    show_upper:
 | 
			
		||||
@ -71,3 +73,14 @@ buttons:
 | 
			
		||||
        outline: "special-3"
 | 
			
		||||
        icon: "key-enter"
 | 
			
		||||
        keysym: "Return"
 | 
			
		||||
    --:
 | 
			
		||||
        outline: "placeholder"
 | 
			
		||||
        text: ""
 | 
			
		||||
    5:
 | 
			
		||||
        outline: "fill"
 | 
			
		||||
    =:
 | 
			
		||||
        outline: "fill"
 | 
			
		||||
    "%":
 | 
			
		||||
        outline: "fill"
 | 
			
		||||
    ^:
 | 
			
		||||
        outline: "fill"
 | 
			
		||||
		Reference in New Issue
	
	Block a user