oAuth2 window properties
bob at bobhall.net
Wed Aug 18 06:50:36 EDT 2021
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!!!!
> 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
> 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:
More information about the use-livecode