diff --git a/client/ayon_core/tools/publisher/widgets/__init__.py b/client/ayon_core/tools/publisher/widgets/__init__.py index 87a5f3914a..38f89c78d0 100644 --- a/client/ayon_core/tools/publisher/widgets/__init__.py +++ b/client/ayon_core/tools/publisher/widgets/__init__.py @@ -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", diff --git a/client/ayon_core/tools/publisher/widgets/comment_input.py b/client/ayon_core/tools/publisher/widgets/comment_input.py index 003f847a33..6a60f663bd 100644 --- a/client/ayon_core/tools/publisher/widgets/comment_input.py +++ b/client/ayon_core/tools/publisher/widgets/comment_input.py @@ -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)