[squeak-dev] rightFlush in TextMorph

Vaidotas Didžbalis vaidasd at gmail.com
Tue Mar 22 08:35:39 UTC 2022


Hello,
Executing lines below produces right aligned text field in Squeak 4.5, but
does not Squeak v4.6 or any later version, I wander is this a bug? Anyone
using right aligned input fields in Squeak?
regards, Vaidotas

builder:=MorphicToolBuilder new.
model:=ValueHolder new contents: 'sample text'.
spec:=builder pluggableInputFieldSpec new getText: #contents; setText:
#contents:;  model: model.
widget:=builder build: spec.
widget textMorph rightFlush.
widget openInWorld.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220322/8fa338aa/attachment.html>


More information about the Squeak-dev mailing list