🐛 Fix problem moving layout to frame

This commit is contained in:
alonso.torres 2024-06-10 16:03:07 +02:00 committed by Alejandro Alonso
parent c15c3b14ee
commit d48e486668
8 changed files with 492 additions and 15 deletions

View file

@ -54,7 +54,7 @@
:name name
:disabled disabled
:value value
:checked checked?}]]))
:default-checked checked?}]]))
(mf/defc radio-buttons
{::mf/props :obj}

View file

@ -96,6 +96,7 @@
(obj/unset! "disable-shadows?")
(obj/set! "ref" ref)
(obj/set! "id" (dm/fmt "shape-%" shape-id))
(obj/set! "data-testid" (:name shape))
;; TODO: This is added for backward compatibility.
(cond-> (and (cfh/text-shape? shape) (empty? (:position-data shape)))

View file

@ -250,7 +250,7 @@
[:& radio-button
{:value "auto"
:icon i/hug-content
:title "Fit content"
:title "Fit content (Horizontal)"
:id "behaviour-h-auto"}])]])
(mf/defc element-behaviour-vertical
@ -288,7 +288,7 @@
{:value "auto"
:icon i/hug-content
:icon-class (stl/css :rotated)
:title "Fit content"
:title "Fit content (Vertical)"
:id "behaviour-v-auto"}])]])
(mf/defc align-self-row