summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-04-11 00:18:48 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-04-11 00:18:48 +0000
commite9a3f0e927853890a424f8f46273dc010f3980e3 (patch)
treeb11501430ee1128f1a5c588ba3010903cd9c9df6
parent7102b0a38ab8c1da23d3e679d8a60b36c4cfccc9 (diff)
Bump width of focus box by 1 (STR #786)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4269 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Browser_.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Browser_.cxx b/src/Fl_Browser_.cxx
index 9835fba1f..2a3081cfb 100644
--- a/src/Fl_Browser_.cxx
+++ b/src/Fl_Browser_.cxx
@@ -363,7 +363,7 @@ J1:
item_draw(l, X-hposition_, yy+Y, W+hposition_, hh);
if (l == selection_ && Fl::focus() == this) {
draw_box(FL_BORDER_FRAME, X, yy+Y, W, hh, color());
- draw_focus(FL_NO_BOX, X, yy+Y, W, hh+1);
+ draw_focus(FL_NO_BOX, X, yy+Y, W+1, hh+1);
}
int ww = item_width(l);
if (ww > max_width) {max_width = ww; max_width_item = l;}