Page 1 of 1
Text Edit draw order
Posted: Tue Jul 19, 2016 8:58 pm
by adamszabo
The text edit in FlowStone seems to not follow the standard rules that we are used to when drawing. Is this a general way in all applications or just in flowstone? My problem is that, I have the text edit drawn first in the view, then I added a opaque rectangle on top of it. So first textedit then rectangle. According to flowstone logic, the square shoudl always be over the textedit, so the editor should be underneath but it seems to pop on top. Is there a way to put it underneath somehow?
Re: Text Edit draw order
Posted: Tue Jul 19, 2016 9:12 pm
by TheOm
The edit box is a standard windows control that all applications can create. It is actually a child window of your window and as such will render in front of whatever flowstone has drawn.
Re: Text Edit draw order
Posted: Wed Jul 20, 2016 12:10 am
by adamszabo
Hmm, I see. Then is it possible to have an alpha (no color) on the text edit background? It seems It can only contain solid colors and not transparent ones.
Re: Text Edit draw order
Posted: Wed Jul 20, 2016 1:37 am
by tulamide
Although there are ways to tweak a window's appearance, it involves the Windows API. No direct manipulation from Flowstone. If I recall correctly you can set colors for background and text (no alpha) from within Flowstone, so at least you can make it more adapted to your color scheme.
Others had solutions like their own text edit frame, where the real text edit is opened outside the view, giving you the impression of directly typing in place.