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>
		
			
				
	
	
		
			90 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# Language: Serbian (Latin, Unicode)
 | 
						||
---
 | 
						||
outlines:
 | 
						||
    default:       { width: 32.415,  height: 52 }
 | 
						||
    change-view:   { width: 48.622,  height: 52 }
 | 
						||
    change-view-2: { width: 56.726,  height: 52 }
 | 
						||
    fill:          { width: 64.83,   height: 52 }
 | 
						||
    placeholder:   { width: 32.415,  height: 52 }
 | 
						||
    spaceline:     { width: 145.868, height: 52 }
 | 
						||
    special:       { width: 32.415,  height: 52 }
 | 
						||
    special-2:     { width: 48.622,  height: 52 }
 | 
						||
    special-3:     { width: 56.726,  height: 52 }
 | 
						||
 | 
						||
views:
 | 
						||
    base:
 | 
						||
        - "lj nj e r t z u i o p š"
 | 
						||
        - "a s d f g h j k l č ć"
 | 
						||
        - "show_upper ž dž c v b n m đ BackSpace"
 | 
						||
        - "show_numbers preferences space , . Return"
 | 
						||
    upper:
 | 
						||
        - "Lj Nj E R T Z U I O P Š"
 | 
						||
        - "A S D F G H J K L Č Ć"
 | 
						||
        - "show_upper Ž Dž 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"
 | 
						||
    symbols:
 | 
						||
        - "~ ` | · √ π τ ÷ × ¶"
 | 
						||
        - "© ® £ € ¥ ^ ° * { }"
 | 
						||
        - "show_numbers_from_symbols \\ / < > = [ ] -- BackSpace"
 | 
						||
        - "show_letters preferences space , . Return"
 | 
						||
 | 
						||
buttons:
 | 
						||
    show_upper:
 | 
						||
        action:
 | 
						||
            locking:
 | 
						||
                lock_view: "upper"
 | 
						||
                unlock_view: "base"
 | 
						||
        outline: "change-view"
 | 
						||
        icon: "key-shift"
 | 
						||
    BackSpace:
 | 
						||
        outline: "special-2"
 | 
						||
        icon: "edit-clear-symbolic"
 | 
						||
        action: "erase"
 | 
						||
    preferences:
 | 
						||
        action: "show_prefs"
 | 
						||
        outline: "special"
 | 
						||
        icon: "keyboard-mode-symbolic"
 | 
						||
    show_numbers:
 | 
						||
        action:
 | 
						||
            set_view: "numbers"
 | 
						||
        outline: "change-view-2"
 | 
						||
        label: "123"
 | 
						||
    show_numbers_from_symbols:
 | 
						||
        action:
 | 
						||
            set_view: "numbers"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "123"
 | 
						||
    show_letters:
 | 
						||
        action:
 | 
						||
            set_view: "base"
 | 
						||
        outline: "change-view-2"
 | 
						||
        label: "ABC"
 | 
						||
    show_symbols:
 | 
						||
        action:
 | 
						||
            set_view: "symbols"
 | 
						||
        outline: "change-view"
 | 
						||
        label: "*/="
 | 
						||
    space:
 | 
						||
        outline: "spaceline"
 | 
						||
        text: " "
 | 
						||
    Return:
 | 
						||
        outline: "special-3"
 | 
						||
        icon: "key-enter"
 | 
						||
        keysym: "Return"
 | 
						||
    --:
 | 
						||
        outline: "placeholder"
 | 
						||
        text: ""
 | 
						||
    5:
 | 
						||
        outline: "fill"
 | 
						||
    "&":
 | 
						||
        outline: "fill"
 | 
						||
    √:
 | 
						||
        outline: "fill"
 | 
						||
    ¥:
 | 
						||
        outline: "fill"
 |