About dialog: adjust loading text and style
Strip the 🔄 emoji from the localized loading string to avoid rendering issues and use the cleaned text for the QLabel. Tweak the label styling by changing the color from #cccccc to #888888 and removing the italic font-style for a more consistent appearance.
This commit is contained in:
@@ -366,14 +366,15 @@ class AboutDialog(QDialog):
|
|||||||
|
|
||||||
def _show_loading_message(self) -> None:
|
def _show_loading_message(self) -> None:
|
||||||
"""Show a compact loading message while system information is being gathered."""
|
"""Show a compact loading message while system information is being gathered."""
|
||||||
loading_label = QLabel(_("about.loading"))
|
# Strip the emoji from the localized string to avoid rendering issues
|
||||||
|
loading_text = _("about.loading").replace("🔄", "").strip()
|
||||||
|
loading_label = QLabel(loading_text)
|
||||||
loading_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
loading_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||||
loading_label.setStyleSheet(
|
loading_label.setStyleSheet(
|
||||||
"""
|
"""
|
||||||
QLabel {
|
QLabel {
|
||||||
color: #cccccc;
|
color: #888888;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-style: italic;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user