forked from Boria138/PortProtonQt
chore: remove broken styles
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@@ -2015,22 +2015,6 @@ class ExeSettingsDialog(QDialog):
|
|||||||
desc_item.setToolTip(setting['description'])
|
desc_item.setToolTip(setting['description'])
|
||||||
desc_item.setTextAlignment(Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignVCenter)
|
desc_item.setTextAlignment(Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignVCenter)
|
||||||
self.advanced_table.setItem(row, 2, desc_item)
|
self.advanced_table.setItem(row, 2, desc_item)
|
||||||
# Style for consistency
|
|
||||||
self.advanced_table.setStyleSheet("""
|
|
||||||
QComboBox, QLineEdit {
|
|
||||||
padding: 3px 6px;
|
|
||||||
min-height: 26px;
|
|
||||||
}
|
|
||||||
QComboBox::drop-down {
|
|
||||||
subcontrol-origin: padding;
|
|
||||||
subcontrol-position: top right;
|
|
||||||
width: 18px;
|
|
||||||
}
|
|
||||||
QTextEdit {
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
""")
|
|
||||||
|
|
||||||
def apply_changes(self):
|
def apply_changes(self):
|
||||||
"""Apply changes by collecting diffs from both main and advanced tabs."""
|
"""Apply changes by collecting diffs from both main and advanced tabs."""
|
||||||
|
|||||||
Reference in New Issue
Block a user