Fix textbox bgcolor.

pull/8/head
Peter Hinch 2021-06-11 06:18:55 +01:00
rodzic 92169717f3
commit 5f58a5cc45
5 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1355,7 +1355,7 @@ def tickcb(f, c):
```python
from gui.widgets.dial import Dial, Pointer
```
![Image](./images/dial.JPG)
![Image](./images/dial.JPG) ![Image](./images/dial1.JPG)
A `Dial` is a passive widget. It presents a circular display capable of
displaying an arbitrary number of vectors; each vector is represented by a

Wyświetl plik

@ -58,7 +58,7 @@ pargs = (2, 2, 124, 7) # Row, Col, Width, nlines
# Keyword
tbargs = {'fgcolor' : YELLOW,
'bdcolor' : RED,
'bgcolor' : DARKGREEN,
'bgcolor' : BLACK,
}

Wyświetl plik

@ -92,7 +92,7 @@ class Textbox(LinearIO):
wri.setcolor() # Restore defaults
def show(self):
if super().show():
if super().show(False):
self._print_lines()
def append(self, s, ntrim=None, line=None):

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 45 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 60 KiB

BIN
images/dial1.JPG 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 45 KiB