<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi, there.<div><br></div><div>Let me check. Both rightFlush and centered work when changed via the menu.</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class='history_container' type='cite' style='border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;'>
                        <p style='color: #AAAAAA; margin-top: 10px;'>Am 22.03.2022 14:18:38 schrieb Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com>:</p><div style='font-family:Arial,Helvetica,sans-serif'>
<div dir="ltr"><div>Indeed, the paddingWidth (which is the available space remaining on the TextLine) appears to be zero, so both centered and rightFlush won't work.</div><div>Normally, the CompositionScanner is setting the paddingWidth for each line at composition time (on various stopConditions endOfRun, cr, etc...).</div><div>Apparently, this does not happen here, because there seems to be no composition...<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 22 mars 2022 à 09:36, Vaidotas Didžbalis <<a href="mailto:vaidasd@gmail.com">vaidasd@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello,</div><div>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?</div><div>regards, Vaidotas </div><div><br></div><div>builder:=MorphicToolBuilder new.</div><div>model:=ValueHolder new contents: 'sample text'.</div><div>spec:=builder pluggableInputFieldSpec new getText: #contents; setText: #contents:;  model: model.</div><div>widget:=builder build: spec.</div><div>widget textMorph rightFlush.</div><div>widget openInWorld.</div></div></div></div>
<br>
</blockquote></div>
</div></blockquote>
                                        </div></body>