diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/TextBox.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc index 8384c45..aeb411c 100644 --- a/src/FbTk/TextBox.cc +++ b/src/FbTk/TextBox.cc | |||
@@ -235,7 +235,7 @@ void TextBox::clear() { | |||
235 | XGetGCValues(dpy, gc(), GCForeground|GCBackground, &backup); | 235 | XGetGCValues(dpy, gc(), GCForeground|GCBackground, &backup); |
236 | XSetForeground(dpy, gc(), backup.foreground); | 236 | XSetForeground(dpy, gc(), backup.foreground); |
237 | 237 | ||
238 | fillRectangle(gc(), x, 0, width, height()); | 238 | fillRectangle(gc(), x, (height()-font().height())/2, width, font().height()); |
239 | 239 | ||
240 | XColor c; | 240 | XColor c; |
241 | c.pixel = backup.foreground; | 241 | c.pixel = backup.foreground; |