Page 1 of 1
strange rendering on text field
Posted: Thu Sep 21, 2017 11:25 am
by Thierry
Hi,
is this a known bug?
I'm on Mac Sierra with LiveCode Indy 8.1.6 (the latest).
The text inside the field is fine as I can use it to build a working html page;
only the rendering of the 1st line is wrong.
Here is a screenshot:
N chars: 20207
N lines: 8
N chars in line 1: 10096
Thierry
Re: strange rendering on text field
Posted: Thu Sep 21, 2017 11:58 am
by [-hh]
Hi Thierry.
This is possibly conflicting with the maximum pixel width: The field is shifting the overflow to left and is thus overwriting (as it is non-wrapped).
I have also seen such overflows. This could possibly be changed if you report it to QCC.
[If I remember right, the maximum line length in a normal field is 65535 bytes, so we have maximally 65535 div 2 = 32767 pixels available.]
Hermann
Re: strange rendering on text field
Posted: Thu Sep 21, 2017 12:35 pm
by Thierry
[-hh] wrote:
This is possibly conflicting with the maximum pixel width
Thanks Hermann,
Yes, I'm aware of this but might be another way to deal with this?
don't know...
In my case,
I don't care much as long as the content of the field is not altered
when transforming it.
Regards,
Thierry
Re: strange rendering on text field
Posted: Thu Sep 21, 2017 7:04 pm
by [-hh]
Thierry,
you could think about putting the first line in a separate wrapping field.
You could also think about putting in returns (at least in that first line)
HTML handles cr as space. So inserting a cr instead of a space within a tag doesn't change the web display.
Good luck with your app!
Hermann
Re: strange rendering on text field
Posted: Mon Sep 25, 2017 8:41 am
by Thierry
[-hh] wrote:
you could think about .......
Thanks but I wasn't asking for any kind of help, as I stated before.
As I found what I consider an anomaly (seen in the screenshot),
I just wanted to report it to the team in this forum named 'Bug triage'!
Good luck with your app!
MyApp was working fine before I've post the OP
Cheers,
Thierry
Re: strange rendering on text field
Posted: Mon Sep 25, 2017 8:49 am
by [-hh]
Thierry wrote:Yes, I'm aware of this but might be another way to deal with this?
So try to deal with it -- or not -- in the way I suggested

And still "Good luck", with your working app

Re: strange rendering on text field
Posted: Mon Sep 25, 2017 9:30 am
by Thierry
[-hh] wrote:Yes, I'm aware of this but might be another way to deal with this?
So try to deal with it ....-
I meant and still believe LiveCode engine could deal with this in another way...
And still "Good luck", with your working app

Danke
Thierry