mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34: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
|
# Change horizontal label
|
||||||
is_label_horizontal = kwargs.get("is_label_horizontal")
|
is_label_horizontal = kwargs.get("is_label_horizontal")
|
||||||
if is_label_horizontal is None:
|
if is_label_horizontal is None:
|
||||||
if single_item:
|
kwargs["is_label_horizontal"] = False
|
||||||
is_label_horizontal = True
|
|
||||||
else:
|
|
||||||
is_label_horizontal = False
|
|
||||||
kwargs["is_label_horizontal"] = is_label_horizontal
|
|
||||||
|
|
||||||
self.single_item = single_item
|
self.single_item = single_item
|
||||||
self.folders = folders
|
self.folders = folders
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue