Commit 0f3e2ab3 authored by Bas Lijnse's avatar Bas Lijnse

Merge branch '228-rawvarcons-in-default-layout-for-certain-adt' into 'master'

Resolve "RawVarCons in default Layout for certain ADT"

Closes #228

See merge request clean-and-itasks/iTasks-SDK!179
parents 86f75bc6 164a2125
Pipeline #13010 passed with stage
in 8 minutes and 25 seconds
......@@ -71,8 +71,8 @@ where
layoutWithActions = sequenceLayouts [setUIType UIPanel, addButtonBar]
layoutInteract = sequenceLayouts
[setTitle
,layoutEditor
[setTitle
,layoutEditor
,removePromptIfEmpty
,setContainerType
]
......@@ -130,7 +130,7 @@ layoutVarCons = sequenceLayouts
[setUIType UIContainer
,setUIAttributes (directionAttr Horizontal)
,layoutSubUIs (SelectByPath [0]) (setUIAttributes (widthAttr WrapSize)) //Make the constructor selection wrapping
,layoutSubUIs (SelectAND SelectDescendents (SelectByType UICons)) layoutVarCons
,layoutSubUIs (SelectAND SelectDescendents (SelectByType UIVarCons)) layoutVarCons
]
layoutList :: LayoutRule
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment