mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix qcss bug
This commit is contained in:
parent
86f51125fb
commit
b68a9c2542
1 changed files with 2 additions and 2 deletions
|
|
@ -25,14 +25,14 @@ class DropEmpty(QtWidgets.QWidget):
|
|||
self._label = QtWidgets.QLabel('Drag & Drop')
|
||||
self._label.setFont(font)
|
||||
self._label.setStyleSheet(
|
||||
'background-color: rgb(255, 255, 255, 0);'
|
||||
'background-color: transparent;'
|
||||
)
|
||||
|
||||
font.setPointSize(12)
|
||||
self._sub_label = QtWidgets.QLabel('(drop files here)')
|
||||
self._sub_label.setFont(font)
|
||||
self._sub_label.setStyleSheet(
|
||||
'background-color: rgb(255, 255, 255, 0);'
|
||||
'background-color: transparent;'
|
||||
)
|
||||
|
||||
layout.addWidget(self._label, alignment=BottomCenterAlignment)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue