diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2014-01-25 15:42:48 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-01-25 15:42:48 +0000 |
commit | 144b31b587161b6fe519a8e7a47bbb6dec73c0f9 (patch) | |
tree | 9c4827620ba90236253b7d134a570695f7082ecb | |
parent | 77168d95ac6dbeedef7e3759a4915ee83e193d0a (diff) | |
download | fpGUI-144b31b587161b6fe519a8e7a47bbb6dec73c0f9.tar.xz |
hyperlink: Removed hard-coded font name, and make it more cross-platform friendly.
-rw-r--r-- | src/gui/fpg_hyperlink.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/fpg_hyperlink.pas b/src/gui/fpg_hyperlink.pas index 78e46342..0f0e0896 100644 --- a/src/gui/fpg_hyperlink.pas +++ b/src/gui/fpg_hyperlink.pas @@ -95,8 +95,8 @@ begin TextColor := clHyperLink; FUrl := fpGUIWebsite; FText := 'fpGUI website'; - FHTFont := 'Arial-8:antialias=true:underline:bold'; - FontDesc := 'Arial-8:antialias=true:underline'; + FHTFont := FPG_DEFAULT_SANS + '-8:antialias=true:underline:bold'; + FontDesc := FPG_DEFAULT_SANS + '-8:antialias=true:underline'; end; procedure TfpgHyperlink.SetURL(const Value: TfpgString); |