#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Thu, 07 Jun 2018 19:20:47 +0200
changeset 4115 1afedd824b71
parent 4114 4b0db85537e0
child 4116 de0efe21503e
#UI_ENHANCEMENT by cg class: ActiveHelpView comment/format in: #withView: class: ActiveHelpView class added: #updateStyleCache
ActiveHelpView.st
--- a/ActiveHelpView.st	Thu Jun 07 11:12:15 2018 +0200
+++ b/ActiveHelpView.st	Thu Jun 07 19:20:47 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1995 by Claus Gittinger
               All Rights Reserved
@@ -154,6 +156,15 @@
     "Modified: 27.4.1996 / 15:14:18 / cg"
 ! !
 
+!ActiveHelpView class methodsFor:'updateStyleCache'!
+
+updateStyleCache
+    super updateStyleCache.
+    DefaultFont := StyleSheet fontAt:#'activeHelp.font' default:nil.
+
+    "Created: / 07-06-2018 / 18:25:51 / Claus Gittinger"
+! !
+
 !ActiveHelpView methodsFor:'accessing'!
 
 contents:someText
@@ -211,9 +222,10 @@
     ].
     self addSubView:aView.
     myView := aView.
-    myView borderWidth:0
+    myView borderWidth:0.
 
-    "Modified: 27.4.1996 / 15:16:46 / cg"
+    "Modified: / 27-04-1996 / 15:16:46 / cg"
+    "Modified: / 07-06-2018 / 18:37:35 / Claus Gittinger"
 ! !
 
 !ActiveHelpView methodsFor:'event handling'!