Update canvas view when row compaction setting is changed.

This commit is contained in:
Jonathan Moore Liles 2008-06-14 11:29:10 -05:00
parent 70a3049bca
commit f7e6e50666
1 changed files with 4 additions and 3 deletions

View File

@ -339,7 +339,9 @@ else
label {&Compacted}
callback {int val = o->menu()[ o->value() ].value();
pattern_c->row_compact( val ? Canvas::ON : Canvas::OFF );}
pattern_c->row_compact( val ? Canvas::ON : Canvas::OFF );
pattern_canvas_widget->redraw();} selected
xywh {10 10 40 25} type Toggle value 1
}
MenuItem {} {
@ -1538,8 +1540,7 @@ fl_line_style( FL_DASH );
fl_rect( x(), y(), w(), h() );
fl_line_style( FL_SOLID );
_border_drawn = true;} {selected
}
_border_drawn = true;} {}
}
}