fix: 任务错误提示改为顶部居中 (#87)
This commit is contained in:
@@ -513,7 +513,7 @@ class PDDTaskPageEvent(QObject):
|
||||
content=content,
|
||||
isClosable=True,
|
||||
duration=ERROR_FEEDBACK_DURATION_MS,
|
||||
position=InfoBarPosition.TOP_RIGHT,
|
||||
position=InfoBarPosition.TOP,
|
||||
parent=self._page,
|
||||
)
|
||||
self._replace_rerun_feedback(bar)
|
||||
@@ -801,7 +801,7 @@ class PDDTaskPageEvent(QObject):
|
||||
content=content,
|
||||
isClosable=True,
|
||||
duration=ERROR_FEEDBACK_DURATION_MS,
|
||||
position=InfoBarPosition.TOP_RIGHT,
|
||||
position=InfoBarPosition.TOP,
|
||||
parent=self._page,
|
||||
)
|
||||
self._claim_feedback = bar
|
||||
@@ -840,7 +840,7 @@ class PDDTaskPageEvent(QObject):
|
||||
content=content,
|
||||
isClosable=True,
|
||||
duration=ERROR_FEEDBACK_DURATION_MS,
|
||||
position=InfoBarPosition.TOP_RIGHT,
|
||||
position=InfoBarPosition.TOP,
|
||||
parent=self._page,
|
||||
)
|
||||
self._device_feedback = bar
|
||||
|
||||
Reference in New Issue
Block a user