update: increased font in profile screen

This commit is contained in:
Your Name 2026-01-01 18:11:56 +01:00
parent 6e0812ce44
commit b02081bbdf
2 changed files with 19 additions and 4 deletions

View file

@ -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)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB