mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
use FlickCharm on MultipleItemWidget
This commit is contained in:
parent
ad5ddb21ca
commit
29ca8688bc
1 changed files with 5 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ from constants import (
|
|||
SORT_VALUE_ROLE
|
||||
)
|
||||
|
||||
from openpype.tools.flickcharm import FlickCharm
|
||||
|
||||
SEPARATORS = ("---separator---", "---")
|
||||
|
||||
|
||||
|
|
@ -403,6 +405,9 @@ class MultipleItemWidget(QtWidgets.QWidget):
|
|||
view.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
|
||||
view.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
|
||||
|
||||
flick = FlickCharm(parent=view)
|
||||
flick.activateOn(view)
|
||||
|
||||
layout = QtWidgets.QHBoxLayout(self)
|
||||
layout.setContentsMargins(0, 0, 0, 0)
|
||||
layout.addWidget(view)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue