Skip to content

Commit

Permalink
Add defaults for relative place
Browse files Browse the repository at this point in the history
  • Loading branch information
ObaraEmmanuel committed Feb 28, 2024
1 parent 0bed3eb commit 4976c61
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions studio/lib/layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,22 +241,26 @@ class PlaceLayoutStrategy(BaseLayoutStrategy):
"relx": {
"display_name": "relative x",
"type": "float",
"name": "relx"
"name": "relx",
"default": "0"
},
"rely": {
"display_name": "relative y",
"type": "float",
"name": "rely"
"name": "rely",
"default": "0"
},
"relwidth": {
"display_name": "relative width",
"type": "float",
"name": "relwidth"
"name": "relwidth",
"default": ""
},
"relheight": {
"display_name": "relative height",
"type": "float",
"name": "relheight"
"name": "relheight",
"default": ""
},
}
name = "place"
Expand Down

0 comments on commit 4976c61

Please sign in to comment.