From a9a2e89f9840938e1802cf457f887b17ead7376d Mon Sep 17 00:00:00 2001 From: corvid Date: Sun, 3 Jul 2011 19:45:26 +0000 Subject: 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." --- dw/fltkviewbase.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'dw/fltkviewbase.cc') 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 -- cgit v1.2.3