From c9197afb3874eb904bf6ac0901d434c4f3316a10 Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:27:16 +0000 Subject: [PATCH 1/2] Dropdown instead of radio buttons --- .../lovelace/editor/view-editor/hui-view-background-editor.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts b/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts index 794e78e5a552..c43aeb86f38b 100644 --- a/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts +++ b/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts @@ -59,6 +59,7 @@ export class HuiViewBackgroundEditor extends LitElement { translation_key: "ui.panel.lovelace.editor.edit_view.background.size", options: ["auto", "cover", "contain"], + mode: "dropdown", }, }, }, @@ -79,6 +80,7 @@ export class HuiViewBackgroundEditor extends LitElement { "bottom center", "bottom right", ], + mode: "dropdown", }, }, }, @@ -89,6 +91,7 @@ export class HuiViewBackgroundEditor extends LitElement { translation_key: "ui.panel.lovelace.editor.edit_view.background.repeat", options: ["repeat", "no-repeat"], + mode: "dropdown" }, }, }, From dccbe7103dac674b0b4cce9104adcabc0e08305c Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:27:39 +0000 Subject: [PATCH 2/2] Dropdown instead of radio buttons --- .../lovelace/editor/view-editor/hui-view-background-editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts b/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts index c43aeb86f38b..58481f516495 100644 --- a/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts +++ b/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts @@ -91,7 +91,7 @@ export class HuiViewBackgroundEditor extends LitElement { translation_key: "ui.panel.lovelace.editor.edit_view.background.repeat", options: ["repeat", "no-repeat"], - mode: "dropdown" + mode: "dropdown", }, }, },