change font size
This commit is contained in:
17
settings.py
17
settings.py
@@ -1,6 +1,21 @@
|
||||
from PyQt6.QtGui import QFont
|
||||
|
||||
|
||||
class Settings():
|
||||
|
||||
def __init__(self):
|
||||
self.font_size(12)
|
||||
|
||||
@staticmethod
|
||||
def max_line_length():
|
||||
return 4096
|
||||
return 4096
|
||||
|
||||
def font(self) -> QFont:
|
||||
return self._font
|
||||
|
||||
def get_font_size(self) -> int:
|
||||
return self._font_size
|
||||
|
||||
def font_size(self, font_size: int):
|
||||
self._font_size = font_size
|
||||
self._font = QFont("monospace", font_size)
|
||||
Reference in New Issue
Block a user