mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
make FileDef with vertical label as default
This commit is contained in:
parent
0647a5dcf2
commit
7924affca5
1 changed files with 1 additions and 5 deletions
|
|
@ -560,11 +560,7 @@ class FileDef(AbtractAttrDef):
|
|||
# Change horizontal label
|
||||
is_label_horizontal = kwargs.get("is_label_horizontal")
|
||||
if is_label_horizontal is None:
|
||||
if single_item:
|
||||
is_label_horizontal = True
|
||||
else:
|
||||
is_label_horizontal = False
|
||||
kwargs["is_label_horizontal"] = is_label_horizontal
|
||||
kwargs["is_label_horizontal"] = False
|
||||
|
||||
self.single_item = single_item
|
||||
self.folders = folders
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue