Nov. 22, 2010
3:20 p.m.
Status: New Owner: gazzaguru2 Labels: Milestone-1.2 New issue 3281 by gazzaguru2: IconicButton graphic not centered http://code.google.com/p/pharo/issues/detail?id=3281 Quick fix: add the following IconicButton extent: newExtent "Update the graphic position to keep centered." super extent: newExtent. graphicalMorph ifNotNil: [graphicalMorph position: self center - (graphicalMorph extent // 2)] Would be nicer to refactor "graphicalMorph" with the superclass "label"...