#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Sat, 10 Nov 2018 09:42:50 +0100
changeset 5963 647276d86edb
parent 5962 fff492b02cb2
child 5964 6a75c8a3ad6c
#REFACTORING by cg class: ColorMenu removed: #preferredExtent
ColorMenu.st
--- a/ColorMenu.st	Sat Nov 10 00:39:13 2018 +0100
+++ b/ColorMenu.st	Sat Nov 10 09:42:50 2018 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1995 by eXept Software AG
               All Rights Reserved
@@ -604,23 +602,6 @@
     "Modified: / 23-01-2011 / 16:24:00 / cg"
 ! !
 
-!ColorMenu methodsFor:'accessing-dimensions'!
-
-preferredExtent
-    "workaround: will change the preferredExtent !!!!
-        same in FontMenu"
-
-    |extent|
-
-    preferredExtent notNil ifTrue:[
-        ^ super preferredExtent.
-    ].
-    extent := super preferredExtent.
-    preferredExtent := nil.
-
-    ^ extent
-! !
-
 !ColorMenu methodsFor:'change & update'!
 
 hasNilColorHolderChanged