From a250b5fbee73ed6487255d28b9db9eebf485bbb0 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 10 Sep 2021 14:25:33 +0200 Subject: [PATCH] added placeholder to comment input and better padding --- openpype/style/style.css | 3 +++ openpype/tools/new_publisher/window.py | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/openpype/style/style.css b/openpype/style/style.css index c1f4bd437e..c3cb918dd4 100644 --- a/openpype/style/style.css +++ b/openpype/style/style.css @@ -774,6 +774,9 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { #PublishDetailViews::item { margin: 1px 0px 1px 0px; } +#PublishCommentInput { + padding: 0.2em; +} #ArrowBtn, #ArrowBtn:disabled, #ArrowBtn:hover { background: transparent; diff --git a/openpype/tools/new_publisher/window.py b/openpype/tools/new_publisher/window.py index 7870e74ad9..1a5f0fa826 100644 --- a/openpype/tools/new_publisher/window.py +++ b/openpype/tools/new_publisher/window.py @@ -131,6 +131,10 @@ class PublisherWindow(QtWidgets.QDialog): # Footer comment_input = QtWidgets.QLineEdit(subset_frame) + comment_input.setObjectName("PublishCommentInput") + comment_input.setPlaceholderText( + "Attach a comment to your publish" + ) reset_btn = ResetBtn(subset_frame) stop_btn = StopBtn(subset_frame)