Results 1 to 3 of 3

Thread: That pesky Window icon

  1. #1
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,042

    That pesky Window icon

    Hi,

    In deploying a desktop app, I can change the app window title from attributes, works fine.

    I'm not having the same luck in changing the window icon in the same attributes section for the app.

    Questions:

    1) where does the image go?
    2) what size is the image? (I'm assuming 16x .ico, but have other sizes available)
    3) will it work with a multi-size .ico?
    4) what path should be specified in the app settings (and how should it be specified)?

    thanks,

    Hank

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,074
    The window icon is specified as a command line arg to lianjaruntime. This is then used throughout your App as the default icon for all Forms and Dialogs.

    lianjaruntime --icon fullpathtoicon.ext

    where ext can be png, jpg or bmp

    It is 16x16 by default but will scale if its bigger.

    The App tile icons are specified in the App Settings.

    Name:  Screen Shot 2014-04-25 at 10.19.11 AM.jpg
Views: 114
Size:  47.6 KB

    You can also specify your own splash screen with:

    lianjaruntime --splashscreen fullpathtoimage.ext
    Last edited by barrymavin; 2014-04-24 at 23:59.
    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
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,042
    Hi Barry,

    I was referring to App Configuration, Custom Header Icon. Sorry for the confusion.

    I can see now that is just for headers, and the "window" icon has to be specified at Runtime. An "all sizes" icon seems to work for the --icon setting.

    thanks,

    Hank

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