strange rendering on text field
Moderator: Klaus
strange rendering on text field
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
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
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: strange rendering on text field
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
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
shiftLock happens
Re: strange rendering on text field
Thanks Hermann,[-hh] wrote: This is possibly conflicting with the maximum pixel width
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
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: strange rendering on text field
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
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
shiftLock happens
Re: strange rendering on text field
Thanks but I wasn't asking for any kind of help, as I stated before.[-hh] wrote: you could think about .......
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'!
MyApp was working fine before I've post the OPGood luck with your app!

Cheers,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: strange rendering on text field
So try to deal with it -- or not -- in the way I suggestedThierry wrote:Yes, I'm aware of this but might be another way to deal with this?

And still "Good luck", with your working app

shiftLock happens
Re: strange rendering on text field
I meant and still believe LiveCode engine could deal with this in another way...[-hh] wrote:So try to deal with it ....-Yes, I'm aware of this but might be another way to deal with this?
DankeAnd still "Good luck", with your working app

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!