cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladimir-kotikov <...@git.apache.org>
Subject [GitHub] cordova-windows pull request: CB-10622 fix targetsize images being...
Date Mon, 14 Mar 2016 10:26:15 GMT
Github user vladimir-kotikov commented on the pull request:

    https://github.com/apache/cordova-windows/pull/149#issuecomment-196243378
  
    @SunboX, for adding icons with scale factors other than `scale-100` and `scale-240` you
need to use `target` attribute as following:
    ```xml
        <icon src="res/Windows/Square71x71Logo.png" target="Square71x71Logo.png" />
    ```
    instead of adding separate `<icon ...>` tag for each image
    ```xml
        <icon src="res/Windows/Square71x71Logo.scale-100.png" width="71" height="71" />
        <icon src="res/Windows/Square71x71Logo.scale-200.png" width="142" height="142"
/>
        <icon src="res/Windows/Square71x71Logo.scale-240.png" width="170" height="170"
/>
    ```
    
    When `target` attribute is specified every image that matches regexp `/Square71x71Logo(\.scale\-\d+)?\.png/`
will be copied to application's `images` directory.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message