Fixed bug 516, worked some more on AutoResize() (which is still not correct, but improves the situation, looks like bug 161 wasn't completely fixed yet)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17342 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -272,17 +272,6 @@ BTextControl::Draw(BRect updateRect)
|
||||
StrokeLine(BPoint(rect.right, rect.top + 1.0f));
|
||||
}
|
||||
|
||||
// area around text view
|
||||
|
||||
SetHighColor(fText->ViewColor());
|
||||
rect.InsetBy(1, 1);
|
||||
BRegion region(rect);
|
||||
BRegion updateRegion(updateRect);
|
||||
// why is there no IntersectWith(BRect &) version?
|
||||
region.IntersectWith(&updateRegion);
|
||||
region.Exclude(fText->Frame());
|
||||
FillRegion(®ion);
|
||||
|
||||
// label
|
||||
|
||||
if (Label()) {
|
||||
|
||||
Reference in New Issue
Block a user