Fix drawing glitch with small text sizes.

The GroupView sometimes has visible pixels when the text size is smaller
than the favicon height. Draw those with the same color as the textview
background.
This commit is contained in:
Adrien Destugues 2014-01-14 12:08:34 +01:00
parent 48af26c7d3
commit a98f119a60

View File

@ -572,7 +572,7 @@ URLInputGroup::URLInputGroup(BMessage* goMessage)
SetFlags(Flags() | B_WILL_DRAW | B_FULL_UPDATE_ON_RESIZE);
SetLowColor(ViewColor());
SetViewColor(B_TRANSPARENT_COLOR);
SetViewColor(fTextView->ViewColor());
SetExplicitAlignment(BAlignment(B_ALIGN_USE_FULL_WIDTH,
B_ALIGN_VERTICAL_CENTER));