diff options
author | corvid <corvid@lavabit.com> | 2011-07-03 19:45:26 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-07-03 19:45:26 +0000 |
commit | a9a2e89f9840938e1802cf457f887b17ead7376d (patch) | |
tree | a4a691a00be5f6fb8e0fcf22f46ea700b0d00c13 /dw/fltkviewbase.cc | |
parent | 78032a7c42d76105620bd87c7bcac786194f27d5 (diff) |
draw the labels when hidden inputs are shown
In fltk-1.3, it doesn't draw inside labels for Fl_Inputs, and it
wasn't very nice anyway. Here I move them to the left.
Johannes took a look at this change:
"The only issue I could think of is that the additional
draw_outside_label() would cause excessive redraws for
some reason. But I didn't see anything like that during short
testing here."
Diffstat (limited to 'dw/fltkviewbase.cc')
-rw-r--r-- | dw/fltkviewbase.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc index 22fb06ef..9e23cf19 100644 --- a/dw/fltkviewbase.cc +++ b/dw/fltkviewbase.cc @@ -614,6 +614,7 @@ void FltkWidgetView::drawFltkWidget (Fl_Widget *widget, core::Rectangle *area) { draw_child (*widget); + draw_outside_label(*widget); } } // namespace fltk |