On 30 Mar 2016, at 19:54, Aliaksei Syrel <alex.syrel@gmail.com> wrote:Do anyone really use GLM-Morphic-Brick?
Because it is there just for spotter and will be deleted ASAP.
We know that it is bad. Normal fix requires too many changes...
On Mar 30, 2016 1:34 PM, "Nicolai Hess" <nicolaihess@gmail.com> wrote:The above catch, catches and hides wrong / to late initialized objects.not initialized fonts and a ZeroDevide and some more errors.And if you log out the raised exception, you see some calls toPlease don't do this:This makes debugging GLM/Brick ui/layout code with "self haltOnce" impossible.
updateHeight
"no need to care about height, when it's logic is not customized"
self layout isHeightCustom ifFalse: [ ^ self ].
[ self bounds: (self brickBounds withHeight: self customHeight) ]
on: Exception
do: [ "just skip and do nothing" ]
see
GLMBrickGeometryTrait>>#updateHeight
GLMBrickGeometryTrait>>#updateWidth