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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user