Re: workaround for cut-off text in native scroller?

2021-06-04 Thread Curry Kenworthy via use-livecode
Jacque wrote: > It's either the Flying Spaghetti Monster or fullscreenmode. ;) For Dawkins so loved the things of this world Might be good to steer away from such, and back to LC. :) Richard: > I'm still wondering why we're still scripting scroll regions at all. ... > I'm also wondering

Re: workaround for cut-off text in native scroller?

2021-06-03 Thread Jim Lambert via use-livecode
> Jacque wrote: > It's either the Flying Spaghetti Monster or fullscreenmode. ;) Flying Spaghetti Monster is what I call my code. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

RE: workaround for cut-off text in native scroller?

2021-06-02 Thread Ralph DiMola via use-livecode
AM To: use-livecode@lists.runrev.com Cc: Alex Tweedly Subject: Re: workaround for cut-off text in native scroller? On 02/06/2021 04:18, Mark Wieder via use-livecode wrote: > > I do ok on resizing routines until it comes to groups. Then I always > end up reinventing things: when and where

Re: workaround for cut-off text in native scroller?

2021-06-02 Thread Mark Wieder via use-livecode
On 6/2/21 4:42 AM, Alex Tweedly via use-livecode wrote: I can tell you mine - they work for me , but whether they work for you, or anyone else, is a different matter. Thanks for the pointers. 1. NEVER lock message just to handle resizing.   If you need to do that, you're already in a

Re: workaround for cut-off text in native scroller?

2021-06-02 Thread Alex Tweedly via use-livecode
On 02/06/2021 04:18, Mark Wieder via use-livecode wrote: I do ok on resizing routines until it comes to groups. Then I always end up reinventing things: when and where to lock messages, how to get things resized in the right order so as not to undo what I just did... If there are any rules

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Mark Wieder via use-livecode
On 6/1/21 3:53 PM, Richard Gaskin via use-livecode wrote: If I ever get around to writing an article on resizing strategies I'll keep that in mind.  Helpful to learn about one more xTalk veteran in the same boat. I do ok on resizing routines until it comes to groups. Then I always end up

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread J. Landman Gay via use-livecode
On June 1, 2021 9:13:24 PM Richard Gaskin via use-livecode wrote: Seems I'd misunderstood the two bug reports and Brian Milby's suggestion in this thread. This scroll calculation issue is not specific to the changed metrics from fullScreenMode? Maybe. I understood Brian's post to mean that

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > Richard wrote: >> Alternatively, you could handle your layout >> the way most apps on your phone do, with >> responsive design. > > That would manage the overall layout but wouldn't fix the error in > the native scroller. Seems I'd misunderstood the two bug reports and

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread J. Landman Gay via use-livecode
Alternatively, you could handle your layout the way most apps on your phone do, with responsive design. That would manage the overall layout but wouldn't fix the error in the native scroller. But you can count me as another one who would like to see easier scroller implementation on mobile.

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Richard Gaskin via use-livecode
Klaus wrote: > Am 01.06.2021 um 22:49 schrieb Richard Gaskin: >> No worries. All GUI OSes have had resizable windows since 1984. >> If you've ever scripted for them on the desktop you already have >> 90% of the habits needed to do the same on mobile. > > I never needed to do so in the last 21

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Klaus major-k via use-livecode
Hi Richard, > Am 01.06.2021 um 22:49 schrieb Richard Gaskin via use-livecode > : > Klaus wrote: >> >> This quickie responsive setup took me about 5 minutes, less time >> >> than spent working around the bug, and now with a UI that works >> >> on all device types and screen ratios, with fixed

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Richard Gaskin via use-livecode
Klaus wrote: >> This quickie responsive setup took me about 5 minutes, less time >> than spent working around the bug, and now with a UI that works >> on all device types and screen ratios, with fixed predictable control >> sizes, and no cropping, padding, or distortion. > > yes, thank you, but

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Klaus major-k via use-livecode
Hi Richard, > Am 01.06.2021 um 22:12 schrieb Richard Gaskin via use-livecode > : > > Alternatively, you could handle your layout the way most apps on your phone > do, with responsive design. > > 1. Add this to your stack script: > ... > This quickie responsive setup took me about 5 minutes,

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Richard Gaskin via use-livecode
Alternatively, you could handle your layout the way most apps on your phone do, with responsive design. 1. Add this to your stack script: on ResizeCommon x,y -- Header: set the rect of grc ID 1003 to 0,0,x,92 set the rect of fld ID 1005 to 0,19,x,90 -- -- Footer: set the

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread J. Landman Gay via use-livecode
On 6/1/21 1:55 PM, Klaus major-k via use-livecode wrote: And "of empty" means with NO fullscreenmode, I guess? Tried that, no die! The dictionary tells me about "fullscreenmode": ... • empty - The stack is resized (not scaled) to fit the screen. (default) This is the legacy behavior. ...

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Brian Milby via use-livecode
Ok. I’ll just pull down your demo and play around with it. Sent from my iPhone > On Jun 1, 2021, at 2:56 PM, Klaus major-k via use-livecode > wrote: > > Hi Jaques, > >>> Am 01.06.2021 um 20:38 schrieb J. Landman Gay via use-livecode >>> : >>> >>> Sorry, no idea what "FSM of empty" might

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Klaus major-k via use-livecode
Hi Jaques, > Am 01.06.2021 um 20:38 schrieb J. Landman Gay via use-livecode > : > >> Sorry, no idea what "FSM of empty" might be? :-) > > It's either the Flying Spaghetti Monster I highly doubt that! :-D > or fullscreenmode. ;) Makes sense, thanks! And "of empty" means with NO

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread J. Landman Gay via use-livecode
Sorry, no idea what "FSM of empty" might be? :-) It's either the Flying Spaghetti Monster or fullscreenmode. ;) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On June 1, 2021 1:16:13 PM Klaus major-k via use-livecode wrote: Hi

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Klaus major-k via use-livecode
Hi Brian, > Am 01.06.2021 um 17:09 schrieb Brian Milby via use-livecode > : > > One thing to try for testing would be to use FSM of empty Sorry, no idea what "FSM of empty" might be? :-) > and see how many lines are required. Will do, once I know what it means! > One thing I noticed with

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Brian Milby via use-livecode
One thing to try for testing would be to use FSM of empty and see how many lines are required. One thing I noticed with browser widget is that native elements render at device resolution inside regardless of FSM in use. If it requires the same, then this is probably not related. If the

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Klaus major-k via use-livecode
Hi Jaques, > Am 01.06.2021 um 18:26 schrieb J. Landman Gay via use-livecode > : > > I usually put one empty line at the end of the field and increase the native > scroller content height by twice > or three times the textheight of the field. The amount of extra space > required in the

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread J. Landman Gay via use-livecode
I usually put one empty line at the end of the field and increase the native scroller content height by twice or three times the textheight of the field. The amount of extra space required in the scroller depends on the text size and textheight. I think the problem is an incorrect calculation

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Klaus major-k via use-livecode
Hi Rick, > Am 01.06.2021 um 16:38 schrieb Rick Harrison via use-livecode > : > > Hi Klaus, > > What happens if you add 100 blank lines? I get the white space of hundred empty lines in the scroller. > What happens if you add 100 blank lines and the last one has something on it? Did not try

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Rick Harrison via use-livecode
Hi Klaus, What happens if you add 100 blank lines? What happens if you add 100 blank lines and the last one has something on it? I hope you find a suitable workaround because that’s a serious bug! Rick > On Jun 1, 2021, at 7:14 AM, Klaus major-k via use-livecode > wrote: > > Hi friends, >

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Klaus major-k via use-livecode
Hi Brian, > Am 01.06.2021 um 14:58 schrieb Brian Milby via use-livecode > : > > I’ll need to build a test project this evening to reproduce using your full > screen mode. So far I have only used “empty” with a scroller. Hopefully > someone else will have more to suggest before then. take

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Brian Milby via use-livecode
I’ll need to build a test project this evening to reproduce using your full screen mode. So far I have only used “empty” with a scroller. Hopefully someone else will have more to suggest before then. Thanks, Brian Sent from my iPhone > On Jun 1, 2021, at 8:50 AM, Klaus major-k via

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Klaus major-k via use-livecode
Hi Brian, > Am 01.06.2021 um 13:57 schrieb Brian Milby via use-livecode > : > > Which full screen mode are you using? > The referenced fix works by extending the scroll region longer than the > actual content with a goal of allowing you to get to the last line. What are > you seeing when you

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Klaus major-k via use-livecode
Hi Brian, > Am 01.06.2021 um 13:57 schrieb Brian Milby via use-livecode > : > > Which full screen mode are you using? on my device: exactfit > The referenced fix works by extending the scroll region longer than the > actual content with a goal of allowing you to get to the last line. >

Re: workaround for cut-off text in native scroller?

2021-06-01 Thread Brian Milby via use-livecode
Which full screen mode are you using? The referenced fix works by extending the scroll region longer than the actual content with a goal of allowing you to get to the last line. What are you seeing when you try to use that? (Does it let you get any further or just doesn’t change it at all for