* Fixed bug #3574 - this is only a temporary fix, though, as the BControlLook
class must take care of these things. * Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29574 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2001-2007, Haiku, Inc.
|
* Copyright (c) 2001-2009, Haiku, Inc.
|
||||||
* Distributed under the terms of the MIT license.
|
* Distributed under the terms of the MIT license.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@@ -319,8 +319,8 @@ BBox::FrameResized(float width, float height)
|
|||||||
// invalidate the regions that the app_server did not
|
// invalidate the regions that the app_server did not
|
||||||
// (for removing the previous or drawing the new border)
|
// (for removing the previous or drawing the new border)
|
||||||
if (fStyle != B_NO_BORDER) {
|
if (fStyle != B_NO_BORDER) {
|
||||||
|
// TODO: this must be made part of the be_control_look stuff!
|
||||||
int32 borderSize = fStyle == B_PLAIN_BORDER ? 0 : 1;
|
int32 borderSize = fStyle == B_PLAIN_BORDER ? 0 : 2;
|
||||||
|
|
||||||
BRect invalid(bounds);
|
BRect invalid(bounds);
|
||||||
if (fBounds.right < bounds.right) {
|
if (fBounds.right < bounds.right) {
|
||||||
|
|||||||
Reference in New Issue
Block a user