Page 1 of 1

TextEditor with both hor. & ver. scrollbars fail with nowrap

Posted: Wed Jun 04, 2014 7:03 pm
by marko
TextEditor with both horizontal & vertical scrollbars working without AutoWrap in the TextEditor

Hi,

I'm trying to get working scrollbars (both horizontal and vertical) on a TextEditor without autowrap enabled.

So in my XML file I have:

Code: Select all

<virtgroup>
    <texteditor id="myte" wrapmode="nowrap" fixedfont="true" scrollbar="yes" contents="exter your text here!"/>
</virtgroup>
In above, the textwrapping is set to of as i should but I have only the vertical scrollbar and no way to scroll to the right side of the text...

So, I figured I maybe have to enclose it i a scrollgroup like:

Code: Select all

<scrollgroup freevert="false">
<virtgroup>
    <texteditor id="myte" wrapmode="nowrap" fixedfont="true" scrollbar="yes" contents="exter your text here!"/>
</virtgroup>
</scrollgroup>
So, now a get the horisontal scrollbar as well but i doesn't work and still is the right side of the text in the texteditor hidden?

What am I missing, how do get both scrollbars working without AutoWrap in the TextEditor?

Re: TextEditor with both hor. & ver. scrollbars fail with no

Posted: Wed Jun 04, 2014 7:40 pm
by marko
Oh, that should read True..

So:

Code: Select all

<scrollgroup freevert="false">
<virtgroup>
    <texteditor id="myte" wrapmode="nowrap" fixedfont="true" scrollbar="true" contents="exter your text here!"/>
</virtgroup>
</scrollgroup>
But no working scrollbars either :S... ?

Re: TextEditor with both hor. & ver. scrollbars fail with no

Posted: Wed Jun 04, 2014 10:37 pm
by airsoftsoftwair
Don't use a scrollgroup or a virtgroup. Text editor class has its own scrollbars.

Re: TextEditor with both hor. & ver. scrollbars fail with no

Posted: Wed Jun 04, 2014 11:06 pm
by marko
Ok, so after taking them away I have like this:

Code: Select all

<vgroup>
    <texteditor id="myte" wrapmode="nowrap" fixedfont="true" scrollbar="true" contents="exter text" cyclechain="1"/>
</vgroup>
Sorry Andreas, it doesn't work. I will only get Vertical scrollbar but no Horizontal scrollbar at all now :S

Did you note that the TextEditor is without autowrapping? (just in case)

So, when there's a bunch of text in the text editor (with wrapping turned off), no way to scroll to the rights side of text to view it...

What else missing..?

Re: TextEditor with both hor. & ver. scrollbars fail with no

Posted: Thu Jun 05, 2014 5:57 pm
by airsoftsoftwair
I checked back with the TextEditor.mcc team and they told me that it is currently not supported because YAM always uses autowrapping. So you have to try to bug them about it.... maybe they'll implement it :)

Re: TextEditor with both hor. & ver. scrollbars fail with no

Posted: Fri Jun 06, 2014 12:21 am
by marko
Ok, I'll do that, hopefully they implement it, thanks :)

Re: TextEditor with both hor. & ver. scrollbars fail with no

Posted: Fri Jun 06, 2014 1:37 am
by marko
Ticket made on the TextEditor bug tracker.