keyboard: Add/document "height" optional property
This will allow OSK descriptions to declare "tall" keys. May be used in combination with the "start" property added in previous commits, in case a gap needs to be explicitly left. No OSK description uses this yet. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
This commit is contained in:
@ -1564,7 +1564,7 @@ export const Keyboard = GObject.registerClass({
|
||||
if (key.action || key.keyval)
|
||||
button.keyButton.add_style_class_name('default-key');
|
||||
|
||||
layout.appendKey(button, key.width, 1, key.leftOffset);
|
||||
layout.appendKey(button, key.width, key.height, key.leftOffset);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user