New Xojo2025r3: I love new features, but what i love even more is when previous stuff works as it did before so i don’t have to spend time fixing stuff that wasn’t broken. Concerns the textarea control, where wrap is off (BTW this check box state does not stick in the IDE setting) and there is a horizontal scroll bar. Used to look like this:
with the text uncomfortably glued to the left edge of the textarea with barely 1 pixel of whitespace. As if the horiz scroll can never quite get to 0. Am I doing something wrong? (I didn’t do anything).
I do not have an answer for why they differ, but do have a workaround for making the padding as you desire. I use Einhugur plugins and this function to control (increase) the padding on my TextAreas:
Public Sub TextContainerInset(extends txt as TextArea, assigns ptInset as Point)
#if TargetMacOS then
var szInset as new EinhugurCoreBridge.NSSize(ptInset.X, ptInset.Y)
EinhugurMacOSBridge.NSTextView.FromPtr(ptr(txt.Handle)).TextContainerInset = szInset
#endif
End Sub
Used like:
// Pretty margins
txtCredits.TextContainerInset = new Point(2, 3)
Was looking fwd to trying watchpoints in 26r1 (something we’ve been waiting for for quite a while) but unfortunately the ugly margin-less textareas were not fixed:
just downloaded 2026r2 hoping this would be fixed, but alas no, it looks like one of those bugs that will be relegated to the back burner, possibly forever. This is on Sequoia 15.7.3 (so occurs on several macOS versions for me).
The NSSizeMBS tip seems to work (thx Jared) so looks like i’ll have to remember to add this to every desktopTextArea from now on.