Улучшен интерфейс промптов: увеличен размер окна, улучшена читаемость текста, кнопка перемещена рядом с полем промпта
This commit is contained in:
1 parent
4b16298d05
commit
af86c5cc53
2 files changed
+24
-10
No files matched your search
@@ -17,8 +17,8 @@ class PromptWindow(QDialog):
|
||||
self.setStyleSheet("""
|
||||
QDialog {
|
||||
background-color: #2b2b2b;
|
||||
min-width: 800px;
|
||||
min-height: 600px;
|
||||
min-width: 1000px;
|
||||
min-height: 800px;
|
||||
}
|
||||
QTreeWidget {
|
||||
background-color: #1e1e1e;
|
||||
@@ -26,9 +26,11 @@ class PromptWindow(QDialog):
|
||||
border: 1px solid #3b3b3b;
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
QTreeWidget::item {
|
||||
padding: 4px;
|
||||
padding: 6px;
|
||||
min-height: 24px;
|
||||
}
|
||||
QTreeWidget::item:selected {
|
||||
background-color: #0d6efd;
|
||||
@@ -41,6 +43,7 @@ class PromptWindow(QDialog):
|
||||
border-radius: 4px;
|
||||
padding: 8px 16px;
|
||||
font-weight: bold;
|
||||
min-width: 120px;
|
||||
}
|
||||
QPushButton:hover {
|
||||
background-color: #0b5ed7;
|
||||
@@ -54,6 +57,11 @@ class PromptWindow(QDialog):
|
||||
border: 1px solid #555555;
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
font-size: 14px;
|
||||
min-height: 24px;
|
||||
}
|
||||
QLabel {
|
||||
font-size: 14px;
|
||||
}
|
||||
""")
|
||||
|
||||
|
||||
Reference in new issue
Block a user