help font resized
This commit is contained in:
parent
a6a80f409c
commit
c20509f16f
@ -140,7 +140,7 @@ class formatHelp(QLabel):
|
|||||||
with open('static/help.txt', 'r', encoding='utf-8') as file:
|
with open('static/help.txt', 'r', encoding='utf-8') as file:
|
||||||
help_text = file.read().replace('\n', '')
|
help_text = file.read().replace('\n', '')
|
||||||
self.setText(help_text)
|
self.setText(help_text)
|
||||||
self.setStyleSheet("padding-left: 20px; padding-right: 20px; padding-top: 10px; padding-bottom: 10px; font-size:12px;")
|
self.setStyleSheet("padding-left: 20px; padding-right: 20px; padding-top: 10px; padding-bottom: 10px; font-size:32px;")
|
||||||
self.adjustSize()
|
self.adjustSize()
|
||||||
|
|
||||||
|
|
||||||
@ -219,7 +219,7 @@ class MainWindow(QMainWindow):
|
|||||||
helpAct.triggered.connect(self.showHelp)
|
helpAct.triggered.connect(self.showHelp)
|
||||||
menuBar.addAction(helpAct)
|
menuBar.addAction(helpAct)
|
||||||
|
|
||||||
self.show()
|
self.showMaximized()
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
Reference in New Issue
Block a user