diff --git a/gui/__main__.py b/gui/__main__.py index f98585d..12fcca6 100755 --- a/gui/__main__.py +++ b/gui/__main__.py @@ -2062,19 +2062,34 @@ class MenuPage(Page): info_txt.setReadOnly(True) info_txt.setFrameStyle(QFrame.Shape.NoFrame) info_txt.setStyleSheet( - f"background: transparent; border: none; color: {text_color}; font-size: 15px;") + f"background: transparent; border: none; color: {text_color}; font-size: 17px;") info_txt.setVerticalScrollBarPolicy( Qt.ScrollBarPolicy.ScrollBarAlwaysOff) info_txt.setHorizontalScrollBarPolicy( Qt.ScrollBarPolicy.ScrollBarAlwaysOff) info_txt.setWordWrapMode( - QtGui.QTextOption.WrapMode.WrapAnywhere) + QtGui.QTextOption.WrapMode.WrapAtWordBoundaryOrAnywhere) info_txt.setText( - f"Location: {l_name}\n\nOperator: {o_name}\n\nNostr: {n_key}") + f"Location: {l_name}\n\nOperator: {o_name}") info_txt.show() - self.additional_labels.append(info_txt) + nostr_txt = QTextEdit(self) + nostr_txt.setGeometry(20, 260, 370, 80) + nostr_txt.setReadOnly(True) + nostr_txt.setFrameStyle(QFrame.Shape.NoFrame) + nostr_txt.setStyleSheet( + f"background: transparent; border: none; color: {text_color}; font-size: 17px;") + nostr_txt.setVerticalScrollBarPolicy( + Qt.ScrollBarPolicy.ScrollBarAlwaysOff) + nostr_txt.setHorizontalScrollBarPolicy( + Qt.ScrollBarPolicy.ScrollBarAlwaysOff) + nostr_txt.setWordWrapMode( + QtGui.QTextOption.WrapMode.WrapAnywhere) + nostr_txt.setText(f"Nostr: {n_key}") + nostr_txt.show() + self.additional_labels.append(nostr_txt) + elif protocol.lower() in ["wireguard", "open", "lokinet", "residential", "hidetor"]: label_principal = QLabel(self) label_principal.setGeometry(0, 90, 400, 300) diff --git a/gui/resources/images/icon_se_swe.png b/gui/resources/images/icon_se_swe.png deleted file mode 100644 index 736891c..0000000 Binary files a/gui/resources/images/icon_se_swe.png and /dev/null differ