mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #1233 from pypeclub/feature/hide_expanding_btn
Hide expand button if content does not contain any widget
This commit is contained in:
commit
77fbc0b655
1 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ class DictImmutableKeysWidget(BaseWidget):
|
|||
)
|
||||
)
|
||||
|
||||
if self.entity.use_label_wrap and self.content_layout.count() == 0:
|
||||
self.body_widget.hide_toolbox(True)
|
||||
|
||||
self.entity_widget.add_widget_to_layout(self, label)
|
||||
|
||||
def _prepare_entity_layouts(self, children, widget):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue