Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Setting App initial size

  1. #1

    Setting App initial size

    I need to add an app that consists of a single textbox/command button pair. I expect my users will keep it open throughout the day and wondered if it could be set to initially run at a non-maximized size. In App Builder I assume maximized is the default, but I am not sure I can change it when run from the App Center. -- geometry seemed promising, but that seems more to size the App Center on startup. Can't test much at the moment, need to install App Center on a computer that does not have App Builder on it. Any Ideas?

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,360
    Blog Entries
    22
    The App Builder only runs maximized if the screen resolution is less than the recommend size.

    The App Center geometry can be set as you describe.

    You should not install the App Builder and the App Center on the same machine.

    The App Builder can be run as the app center for testing with the --runtime command line option.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Got it, I saw the warning about App Builder and App Center on the same machine. I didn't see that App Builder could be run wth the --runtime option for testing. Thanks for the tip!

  4. #4
    I have been working on the --runtime startup option to test how the app would look and feel on a Desktop Mac. I have tried a variety of commands, but I keep crashing Lianja. I may just not understand Lianja on the Mac. Bare bones terminal start command:
    Code:
    open -a Lianja --args --runtime
    I think this should start the App Center, but Lianja just crashes. Wrong command syntax?

  5. #5
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,913
    Hi James,

    That is working correctly for me here. If you issue it without args does the App Builder open correctly?

    Code:
    open -a Lianja
    Regards,

    Yvonne

  6. #6
    Sure, that's where I started - trying to keep it simple. This is a Mac with App Builder on it and I wanted to test runtime. I copied and pasted my code, so I don't think it's a typo. Ideas?

  7. #7
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,360
    Blog Entries
    22
    open -a Lianja --args "--runtime"

    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  8. #8
    I was hoping it was that simple, but no it still crashes. Could this also be a problem cured with the 4.1.2 fix?

  9. #9
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,360
    Blog Entries
    22
    Possibly as that’s what I’m using. I have made changes to command line parsing with regards to running background tasks which are documented at:
    https://www.lianja.com/doc/index.php/Background_Tasks

    What version of macOS are you running on?

    Try typing the command that I posted rather than cut and paste as the string quotes may be incorrect.
    Last edited by barrymavin; 2018-05-06 at 19:52.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  10. #10
    I have tried by entering and not copy/pasting with the same crash. Tried double and single and no quotes. OS is El Capitan 10.11.6 (15G19009) on an i5 Mac Mini. Should I open a ticket and include the Apple crash report?

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us