From be32a25307c7d26f24450d83c8e5026ee0d475e0 Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Wed, 28 Aug 2024 19:57:32 +0300 Subject: [PATCH] Specify attributes for bottom rows in layouts that need it --- java/assets/layouts/Special/number.yaml | 4 ++-- java/assets/layouts/Special/phone.yaml | 4 ++-- java/assets/layouts/Special/phone_shift.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java/assets/layouts/Special/number.yaml b/java/assets/layouts/Special/number.yaml index 2f13a6f71..f6f735f69 100644 --- a/java/assets/layouts/Special/number.yaml +++ b/java/assets/layouts/Special/number.yaml @@ -11,7 +11,7 @@ overrideWidths: rowHeightMode: FillHeight -attributes: +attributes: &globalAttrs width: Custom1 showPopup: false useKeySpecShortcut: false @@ -57,5 +57,5 @@ rows: - {type: contextual, attributes: *grow, fallbackKey: {type: base, spec: "=", attributes: *grow}} - {type: base, spec: ".", attributes: *regular} - {type: enter, attributes: *side} - attributes: { style: Normal } + attributes: *globalAttrs splittable: false \ No newline at end of file diff --git a/java/assets/layouts/Special/phone.yaml b/java/assets/layouts/Special/phone.yaml index 6b85308ad..c888b1175 100644 --- a/java/assets/layouts/Special/phone.yaml +++ b/java/assets/layouts/Special/phone.yaml @@ -1,6 +1,6 @@ name: Phone numberRowMode: AlwaysDisabled -attributes: +attributes: &globalAttrs width: Grow showPopup: false moreKeyMode: OnlyExplicit @@ -35,5 +35,5 @@ rows: - {type: base, spec: "0", moreKeys: "!noPanelAutoMoreKey!,+"} - {type: base, spec: "."} - {type: enter, attributes: { width: Grow }} - attributes: { style: Normal } + attributes: *globalAttrs splittable: false \ No newline at end of file diff --git a/java/assets/layouts/Special/phone_shift.yaml b/java/assets/layouts/Special/phone_shift.yaml index e5cee34f8..7dfd1d505 100644 --- a/java/assets/layouts/Special/phone_shift.yaml +++ b/java/assets/layouts/Special/phone_shift.yaml @@ -1,6 +1,6 @@ name: Phone Symbols numberRowMode: AlwaysDisabled -attributes: +attributes: &globalAttrs width: Grow showPopup: false moreKeyMode: OnlyExplicit @@ -35,5 +35,5 @@ rows: - {type: base, spec: "+"} - {type: base, spec: "."} - {type: enter, attributes: { width: Grow }} - attributes: { style: Normal } + attributes: *globalAttrs splittable: false \ No newline at end of file