mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
change small font size
This commit is contained in:
@ -9,7 +9,7 @@ class WaveshareV1(DisplayImpl):
|
|||||||
super(WaveshareV1, self).__init__(config, 'waveshare_1')
|
super(WaveshareV1, self).__init__(config, 'waveshare_1')
|
||||||
|
|
||||||
def layout(self):
|
def layout(self):
|
||||||
fonts.setup(10, 9, 10, 35, 25, 9)
|
fonts.setup(10, 8, 10, 35, 25, 9)
|
||||||
self._layout['width'] = 250
|
self._layout['width'] = 250
|
||||||
self._layout['height'] = 122
|
self._layout['height'] = 122
|
||||||
self._layout['face'] = (0, 40)
|
self._layout['face'] = (0, 40)
|
||||||
|
@ -9,7 +9,7 @@ class WaveshareV2(DisplayImpl):
|
|||||||
super(WaveshareV2, self).__init__(config, 'waveshare_2')
|
super(WaveshareV2, self).__init__(config, 'waveshare_2')
|
||||||
|
|
||||||
def layout(self):
|
def layout(self):
|
||||||
fonts.setup(10, 9, 10, 35, 25, 9)
|
fonts.setup(10, 8, 10, 35, 25, 9)
|
||||||
self._layout['width'] = 250
|
self._layout['width'] = 250
|
||||||
self._layout['height'] = 122
|
self._layout['height'] = 122
|
||||||
self._layout['face'] = (0, 40)
|
self._layout['face'] = (0, 40)
|
||||||
|
Reference in New Issue
Block a user