use the widget in publisher

This commit is contained in:
Jakub Trllo 2025-11-03 14:32:21 +01:00
parent 60f876dfaa
commit 3896aec56c
2 changed files with 7 additions and 1 deletions

View file

@ -11,6 +11,7 @@ from .widgets import (
PublishBtn,
CreateNextPageOverlay,
)
from .comment_input import CommentInput
from .help_widget import (
HelpButton,
HelpDialog,
@ -33,6 +34,8 @@ __all__ = (
"PublishBtn",
"CreateNextPageOverlay",
"CommentInput",
"HelpButton",
"HelpDialog",

View file

@ -6,6 +6,7 @@ from qtpy import QtCore, QtWidgets
from ayon_core.style import load_stylesheet
from ayon_core.tools.utils import (
BaseClickableFrame,
PlaceholderLineEdit,
get_qt_icon,
get_qt_app,
PixmapLabel,
@ -367,7 +368,9 @@ class CommentInput(QtWidgets.QWidget):
def __init__(self, parent=None):
super().__init__(parent)
text_input = QtWidgets.QLineEdit(self)
text_input = PlaceholderLineEdit(self)
text_input.setObjectName("PublishCommentInput")
text_input.setPlaceholderText("Attach a comment to your publish")
floating_hints_widget = FloatingHintWidget(self)