// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-// Copyright (c) 2004 Novell, Inc.
+// Copyright (c) 2004-2005 Novell, Inc.
//
// Authors:
// Jackson Harper (jackson@ximian.com)
Refresh ();
} else {
SizeTabs ();
+ // The lines are drawn on the edges of the tabs so the invalid area should
+ // needs to include the extra pixels of line width.
+ if (appearance == TabAppearance.Normal)
+ invalid.Inflate (4, 4);
Invalidate (invalid);
- }
+ }
}
}
} else {
Invalidate (right);
}
+ return;
} else if (left.Contains (e.X, e.Y)) {
left_slider_state = ButtonState.Pushed;
if (CanScrollLeft) {
} else {
Invalidate (left);
}
+ return;
}
}