oAuth2 window properties

Bob Sneidar bobsneidar at iotecdigital.com
Wed Aug 18 12:47:52 EDT 2021


I do a similar thing for nested behavoirs for Datagrids. Just be aware that when you upgrade Livecode, these changes go away. What I do is I keep copies of the behaviors (or libraries if you please). When I get a new version of LC, I FIRST launch the app, license it then quit. This clears any OS hurdles concerning signing and whatever the other thingummy is you now need to do for MacOS. Then I replace the files with my custom files. 

Bob S


> On Aug 18, 2021, at 03:50 , Bob Hall via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Thanks Bernd for the tip. You set me on the right path. Kudos and High Fives coming your way!!!!!
> 
> What I ended up doing was opening the stack script from the Project Browser. In there, the oauth2 stack height and cancel button locations are set via script. I simply added an appropriate amount that I needed to get the stack's height and cancel button where needed and viola, no more scroll bar or cut off auth screen. BRILLIANT! My change lasts between launches as well as when I built the standalone without modification to the app bundle.
> 
> I'll post in the forums the details on what I changed if anyone is interested.
> 
> Thanks again Bernd!!!!
> 
> Bob
> 
>> On Aug 17, 2021, at 1:40 PM, Niggemann, Bernd via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Hi Bob,
>> 
>> Have a look at "com.livecode.library.oauth2" in the Project Browser when "Show IDE Stacks in Lists" is on. That is the (library) stack that displays the information in a stack that is build on the fly.
>> It uses a browser widget to display.
>> You could change the dimensions of the browser widget. Additionally you could try to set the vScrollBar of the widget to false.
>> From the dictionary for the browser widget
>> set the vScrollbar of widget to pEnabled
>> 
>> If you make changes to "com.livecode.library.oauth2" they will not stick: the next time you start Livecode they will be gone. If you want to make them permanent you would have to change the write permissions for that file in the app bundle on a Mac (Windows ??) and save your changes from the Script Editor.
>> 
>> I could not test my suggestions because I don't know anything about oauth2 but it should work.
>> 
>> Kind regards
>> Bernd
>> 
>> Bob wrote:
>> 
>> 
>> Is it possible to change any of the properties of the oAuth2 window? I'd like
>> to be able to set the size (and location) of the window to prevent a scroll bar
>> from showing with the service my App authenticates with.
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list