[squeak-dev] The Trunk: Morphic-mt.1007.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Sep 30 12:09:59 UTC 2015


Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1007.mcz

==================== Summary ====================

Name: Morphic-mt.1007
Author: mt
Time: 30 September 2015, 2:09:27.644 pm
UUID: c0bc7335-d587-8f4a-b835-e6a3839fbf6a
Ancestors: Morphic-mt.1006

Fixes redraw issues when changing font and/or label in pluggable button morphs.

=============== Diff against Morphic-mt.1006 ===============

Item was changed:
  ----- Method: PluggableButtonMorph>>font: (in category 'accessing') -----
  font: aFont
  
  	font = aFont ifTrue: [^ self].
  	font := aFont.
+ 	
+ 	self updateMinimumExtent.
+ 	self changed.!
- 	self updateMinimumExtent.!

Item was changed:
  ----- Method: PluggableButtonMorph>>label: (in category 'accessing') -----
  label: aStringOrTextOrMorph
  
  	label = aStringOrTextOrMorph ifTrue: [^ self].
  	label := aStringOrTextOrMorph isText
  		ifTrue: [aStringOrTextOrMorph asMorph]
  		ifFalse: [aStringOrTextOrMorph].
  	
+ 	self updateMinimumExtent.
+ 	self changed.!
- 	self updateMinimumExtent.!



More information about the Squeak-dev mailing list