diff --git a/README.md b/README.md index f2e4157..c44260c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/gui/demos/tbox.py b/gui/demos/tbox.py index 6255b6b..2155a66 100644 --- a/gui/demos/tbox.py +++ b/gui/demos/tbox.py @@ -58,7 +58,7 @@ pargs = (2, 2, 124, 7) # Row, Col, Width, nlines # Keyword tbargs = {'fgcolor' : YELLOW, 'bdcolor' : RED, - 'bgcolor' : DARKGREEN, + 'bgcolor' : BLACK, } diff --git a/gui/widgets/textbox.py b/gui/widgets/textbox.py index 990f837..c036db7 100644 --- a/gui/widgets/textbox.py +++ b/gui/widgets/textbox.py @@ -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): diff --git a/images/dial.JPG b/images/dial.JPG index 0c6c0cc..f678da7 100644 Binary files a/images/dial.JPG and b/images/dial.JPG differ diff --git a/images/dial1.JPG b/images/dial1.JPG new file mode 100644 index 0000000..0c6c0cc Binary files /dev/null and b/images/dial1.JPG differ