Dynamic Userwindow Wordwrap

Post Reply
Posts: 21
Joined: Sun Nov 17, 2013 1:55 pm

Dynamic Userwindow Wordwrap

Post by Jaren » Wed Jan 30, 2019 3:41 am

I love all the new features that userwindows have been given but I am wondering, is there a way to set a dynamic wordwrap? (Meaning the user resizes it and the wordwrap changes to match) I can't seem to find a function to get its current size. I found one for the main window but nothing for this. The closest I have been able to find is getColumnCount() but that makes things tricky. It does seem to get the width from somewhere though to calculate the columns.

The problem is this:

Code: Select all

setWindowWrap(windowName, wrapAt)
I know I can set any integer at "wrapAt" but how can I find what the current width is?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests