abouttreesummaryrefslogcommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSpike2025-09-15 08:16:26 -0400
committerGitHub2025-09-15 14:16:26 +0200
commit462b860e4e2930f5516b6e2ab5e203f05b98bf4d (patch)
treeef911667ac4c003f0712f5ad9020a187218733d1 /doc
parent8db00d51ab076dd7732c494851db5ddce9e10855 (diff)
downloadunexpected-keyboard-462b860e4e2930f5516b6e2ab5e203f05b98bf4d.tar.gz
unexpected-keyboard-462b860e4e2930f5516b6e2ab5e203f05b98bf4d.zip
Custom-layouts.md: Document minimum row height (#1101)
Diffstat (limited to 'doc')
-rw-r--r--doc/Custom-layouts.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/Custom-layouts.md b/doc/Custom-layouts.md
index 42ed106..021355a 100644
--- a/doc/Custom-layouts.md
+++ b/doc/Custom-layouts.md
@@ -59,6 +59,8 @@ The `<row>`...`</row>` pair encloses one row on the keyboard. It has the followi
A row's default height is 1.0 (one quarter of the keyboard height specified on the Settings menu). The `height` property makes the row taller or shorter than this. For example, if you define a 5-row keyboard but one row has `height="0.7"`, then the keyboard's total height is 4.7 units. If the total is different from 4.0, the keyboard will be taller or shorter than that specified in Settings.
+(A row of keys is drawn with a minimum height of 0.5 even if you specify a smaller value for `height`. There is no such minimum for a row without keys, such as a spacer row.)
+
## Key
The `<key />` tag defines a key on the keyboard. Its position in the sequence of keys inside `<row>`...`</row>` indicates its position in the row from left to right. What the key does is defined by optional properties.