Hey,
I want to disable resizing components in layout in production.
Below is my json file.
default.json
[
{
"children": [
{
"children": [
{
"dock_id": 1,
"dock_tab_bar_enabled": false,
"dock_tab_bar_visible": false,
"height": 41.0,
"position_x": 0.0,
"position_y": 22.0,
"selected_in_dock": true,
"title": "Toolbar 1",
"visible": true,
"width": 1500.0
}
],
"dock_id": 1,
"position": "TOP"
},
{
"children": [
{
"children": [
{
"dock_id": 3,
"dock_tab_bar_enabled": false,
"dock_tab_bar_visible": false,
"height": 889.0,
"position_x": 0.0,
"position_y": 84.0,
"selected_in_dock": true,
"title": "Menu 1",
"visible": true,
"width": 181.0
}
],
"dock_id": 3,
"position": "LEFT"
},
{
"children": [
{
"children": [
{
"dock_id": 5,
"dock_tab_bar_enabled": false,
"dock_tab_bar_visible": false,
"height": 891.0,
"position_x": 194.0,
"position_y": 83.0,
"selected_in_dock": true,
"title": "Viewport Scene",
"visible": true,
"width": 1232.0
}
],
"dock_id": 5,
"position": "LEFT"
},
{
"children": [
{
"children": [
{
"dock_id": 7,
"dock_tab_bar_enabled": false,
"dock_tab_bar_visible": false,
"height": 845.0,
"position_x": 1416.0,
"position_y": 95.0,
"selected_in_dock": true,
"title": "Color Properties",
"visible": true,
"width": 255.0
}
],
"dock_id": 7,
"position": "TOP"
},
{
"children": [
{
"dock_id": 8,
"dock_tab_bar_enabled": false,
"dock_tab_bar_visible": false,
"height": 59.0,
"position_x": 1346.0,
"position_y": 937.0,
"selected_in_dock": true,
"title": "Color Producer",
"visible": false,
"width": 260.0
}
],
"dock_id": 8,
"position": "BOTTOM"
}
],
"dock_id": 6,
"position": "RIGHT"
}
],
"dock_id": 4,
"position": "RIGHT"
}
],
"dock_id": 2,
"position": "BOTTOM"
}
],
"dock_id": 3351234147
},
{
"dock_id": 0,
"height": 0.0,
"position_x": 3.2211111663852886e+38,
"position_y": 3.6666666663852886e+38,
"selected_in_dock": false,
"title": "Options",
"visible": false,
"width": 230.0
}
]
I tried using resizeable = false
, draggable = false
, flags = ["no_move"]
in children, these are not working.
Is there a way to disable resizing/dragging the components in layout??
Thanks,
XXX