G4P: Reposition/Move GTextArea
in
Contributed Library Questions
•
9 months ago
Hi,
is it possible to change the position of GTextArea?
We define the position in the constructor, but are there any hidden methods to reposition it?
Why:
I need a text area with word wrap and vertical scrollbar, which is movable (draggable) on the screen.
So far, I use my own code to detect mouseover for text(), get it draggable an editable on click, but I am struggling with the word wrap and didn't even get started on scrollbar implementation yet. Additionally, the code should be rather fast, as it is called in draw()...
As G4P basically provides everything I need, I would like to use it instead =)
So is it possible to change the position? Or do you know another solution?
Thank you!
Otto
is it possible to change the position of GTextArea?
We define the position in the constructor, but are there any hidden methods to reposition it?
Why:
I need a text area with word wrap and vertical scrollbar, which is movable (draggable) on the screen.
So far, I use my own code to detect mouseover for text(), get it draggable an editable on click, but I am struggling with the word wrap and didn't even get started on scrollbar implementation yet. Additionally, the code should be rather fast, as it is called in draw()...
As G4P basically provides everything I need, I would like to use it instead =)
So is it possible to change the position? Or do you know another solution?
Thank you!
Otto
1