mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
added example of enum_is_horizontal usage
This commit is contained in:
parent
8ad04c84f6
commit
860bb00ed5
1 changed files with 25 additions and 0 deletions
|
|
@ -9,6 +9,31 @@
|
||||||
"label": "Color input",
|
"label": "Color input",
|
||||||
"type": "color"
|
"type": "color"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "dict-conditional",
|
||||||
|
"key": "overriden_value",
|
||||||
|
"label": "Overriden value",
|
||||||
|
"enum_key": "overriden",
|
||||||
|
"enum_is_horizontal": true,
|
||||||
|
"enum_children": [
|
||||||
|
{
|
||||||
|
"key": "overriden",
|
||||||
|
"label": "Override value",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
|
"key": "value",
|
||||||
|
"label": "value"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "inherit",
|
||||||
|
"label": "Inherit value",
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "dict-conditional",
|
"type": "dict-conditional",
|
||||||
"use_label_wrap": true,
|
"use_label_wrap": true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue