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
2012-07-03 15:38:17 +02:00
committed by Alexandre Deckner
parent c1f8fe4de1
commit 193f6b806f
@@ -77,11 +77,11 @@ FontSelectionView::FontSelectionView(const char* name, const char* label,
fPreviewText = new BStringView("preview text", 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.")); 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->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED));
fPreviewText->SetHighColor(tint_color(ui_color(B_PANEL_BACKGROUND_COLOR), fPreviewText->SetHighColor(tint_color(ui_color(B_PANEL_BACKGROUND_COLOR),
1.65)); 1.65));
fPreviewText->SetAlignment(B_ALIGN_RIGHT); fPreviewText->SetAlignment(B_ALIGN_RIGHT);
_UpdateFontPreview();
} }