diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte index c3f3ef71f5..ac87b53db2 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte @@ -2,11 +2,7 @@ import AppPanel from "./_components/AppPanel.svelte" import * as routify from "@roxi/routify" import { syncURLToState } from "helpers/urlStateSync" - import { - screenStore, - selectedScreen, - selectedComponent, - } from "stores/builder" + import { screenStore, selectedScreen } from "stores/builder" import { onDestroy } from "svelte" import LeftPanel from "./_components/LeftPanel.svelte" diff --git a/packages/client/manifest.json b/packages/client/manifest.json index 46595279b4..f61ed7d1bc 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -388,6 +388,14 @@ "name": "Button group", "icon": "Button", "hasChildren": false, + "size": { + "width": 200, + "height": 60 + }, + "grid": { + "hAlign": "stretch", + "vAlign": "stretch" + }, "settings": [ { "section": true, @@ -570,7 +578,7 @@ "icon": "Button", "editable": true, "size": { - "width": 105, + "width": 120, "height": 32 }, "grid": { diff --git a/packages/client/src/components/app/ButtonGroup.svelte b/packages/client/src/components/app/ButtonGroup.svelte index 2cf6b3db7d..b3523cdd21 100644 --- a/packages/client/src/components/app/ButtonGroup.svelte +++ b/packages/client/src/components/app/ButtonGroup.svelte @@ -19,6 +19,11 @@ gap, wrap: true, }} + styles={{ + normal: { + height: "100%", + }, + }} > {#each buttons as { text, type, quiet, disabled, onClick, size, icon, gap }}