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)