mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
using only horizontal layouts
This commit is contained in:
parent
703e17b35a
commit
2d4f983a88
2 changed files with 4 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"key": "applications",
|
||||
"type": "dict",
|
||||
"label": "Applications",
|
||||
"expandable": true,
|
||||
"collapsable": true,
|
||||
"is_group": true,
|
||||
"is_file": true,
|
||||
"children": [
|
||||
|
|
|
|||
|
|
@ -805,9 +805,9 @@ class RawJsonWidget(QtWidgets.QWidget, InputObject):
|
|||
|
||||
self.initial_attributes(input_data, parent, as_widget)
|
||||
|
||||
layout = QtWidgets.QVBoxLayout(self)
|
||||
layout = QtWidgets.QHBoxLayout(self)
|
||||
layout.setContentsMargins(0, 0, 0, 0)
|
||||
layout.setSpacing(0)
|
||||
layout.setSpacing(5)
|
||||
|
||||
self.text_input = RawJsonInput(self)
|
||||
self.text_input.setSizePolicy(
|
||||
|
|
@ -2117,10 +2117,7 @@ class PathWidget(QtWidgets.QWidget, SettingObject):
|
|||
|
||||
self.input_fields = []
|
||||
|
||||
if not self.multiplatform and not self.multipath:
|
||||
layout = QtWidgets.QHBoxLayout(self)
|
||||
else:
|
||||
layout = QtWidgets.QVBoxLayout(self)
|
||||
layout = QtWidgets.QHBoxLayout(self)
|
||||
layout.setContentsMargins(0, 0, 0, 0)
|
||||
layout.setSpacing(5)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue