Small cleanup.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@321 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi 2010-03-17 19:37:15 +00:00 committed by Alexandre Deckner
parent c1f8fe4de1
commit 193f6b806f

View File

@ -77,11 +77,11 @@ FontSelectionView::FontSelectionView(const char* name, const char* label,
fPreviewText = new BStringView("preview text",
TR_CMT("The quick brown fox jumps over the lazy dog.","Don't translate this literally ! Use a phrase showing all chars from A to Z."));
fPreviewText->SetFont(&fCurrentFont);
fPreviewText->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED));
fPreviewText->SetHighColor(tint_color(ui_color(B_PANEL_BACKGROUND_COLOR),
1.65));
fPreviewText->SetAlignment(B_ALIGN_RIGHT);
_UpdateFontPreview();
}