mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
asset widget does not have proxy
This commit is contained in:
parent
235cf38818
commit
60efc644d8
1 changed files with 3 additions and 8 deletions
|
|
@ -137,13 +137,8 @@ class AssetsPanel(QtWidgets.QWidget):
|
|||
project_bar_layout.addWidget(btn_back)
|
||||
project_bar_layout.addWidget(project_bar)
|
||||
|
||||
# assets
|
||||
assets_proxy_widgets = QtWidgets.QWidget(self)
|
||||
assets_proxy_widgets.setContentsMargins(0, 0, 0, 0)
|
||||
assets_layout = QtWidgets.QVBoxLayout(assets_proxy_widgets)
|
||||
assets_widget = AssetWidget(
|
||||
dbcon=self.dbcon, parent=assets_proxy_widgets
|
||||
)
|
||||
# Assets widget
|
||||
assets_widget = AssetWidget(dbcon=self.dbcon, parent=self)
|
||||
|
||||
# Make assets view flickable
|
||||
flick = FlickCharm(parent=self)
|
||||
|
|
@ -162,7 +157,7 @@ class AssetsPanel(QtWidgets.QWidget):
|
|||
QtWidgets.QSizePolicy.Expanding
|
||||
)
|
||||
body.setOrientation(QtCore.Qt.Horizontal)
|
||||
body.addWidget(assets_proxy_widgets)
|
||||
body.addWidget(assets_widget)
|
||||
body.addWidget(tasks_widget)
|
||||
body.setStretchFactor(0, 100)
|
||||
body.setStretchFactor(1, 65)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue