#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Tue, 11 Oct 2016 16:23:27 +0200
changeset 5269 f92fea8b5c9e
parent 5268 b490144a4971
child 5270 0f4a11512bef
#UI_ENHANCEMENT by cg class: FontMenu changed: #symbolicFontsMenu
FontMenu.st
--- a/FontMenu.st	Tue Oct 11 15:50:24 2016 +0200
+++ b/FontMenu.st	Tue Oct 11 16:23:27 2016 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1995 by eXept Software AG
               All Rights Reserved
@@ -691,9 +689,12 @@
 symbolicFontsMenu
     |symbolicFontSelectors selectors menu menuLabels menuItems|
 
-    symbolicFontSelectors := (applicationClass methodsWithAnyResource:#(fontSpec)) collect:[:each| each selector].
+    symbolicFontSelectors := (applicationClass methodsWithAnyResource:#(fontSpec)) 
+                                collect:[:each| each selector].
 
-    symbolicFontSelectors sort.
+    symbolicFontSelectors :=
+        (symbolicFontSelectors reject:[:nm | nm endsWith:'Small']) sort
+        , (symbolicFontSelectors select:[:nm | nm endsWith:'Small']) sort.
 
     selectors := Array new:symbolicFontSelectors size withAll:#fontSymbol:.
     menuLabels := symbolicFontSelectors, #('-' 'Other...').