From 193f6b806fc39c45f5760fa3918b01b79e8796fa Mon Sep 17 00:00:00 2001 From: stippi Date: Wed, 17 Mar 2010 19:37:15 +0000 Subject: [PATCH] Small cleanup. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@321 94f232f2-1747-11df-bad5-a5bfde151594 --- src/apps/webpositive/support/FontSelectionView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/webpositive/support/FontSelectionView.cpp b/src/apps/webpositive/support/FontSelectionView.cpp index 038f0cdacb..24fcd248fb 100644 --- a/src/apps/webpositive/support/FontSelectionView.cpp +++ b/src/apps/webpositive/support/FontSelectionView.cpp @@ -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(); }