[Pharo-project] Issue 3281 in pharo: IconicButton graphic not centered
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"...
Nov. 23, 2010
2:03 p.m.
Updates: Status: Closed Comment #1 on issue 3281 by marcus.denker: IconicButton graphic not centered http://code.google.com/p/pharo/issues/detail?id=3281 12252
5730
Age (days ago)
5731
Last active (days ago)
1 comments
1 participants
participants (1)
-
pharoï¼ googlecode.com