我正在使用Visual Studio 2015和Apache Cordova來製作我的UWP應用程序。但我的應用程序的任務欄圖標看起來比旁邊的所有其他應用程序都小。爲什麼使用Apache Cordova構建的Windows 10通用應用程序的任務欄圖標的大小比其他應用程序小
最右邊的圖標顯示我的應用程序。正如你可以看到它比其左側的所有其他圖標更小(看起來像是所有4邊上的填充版本)。
這是實際的Square44x44Logo.scale-100.png
,因爲你可以看到下面,有在我的形象沒有填充
我按照視覺工作室的Apache科爾多瓦項目模板,這裏是我的圖標聲明我3210
<platform name="windows">
<icon height="150" src="res/icons/windows/Square150x150Logo.scale-100.png" width="150" />
<icon height="360" src="res/icons/windows/Square150x150Logo.scale-240.png" width="360" />
<icon height="30" src="res/icons/windows/Square30x30Logo.scale-100.png" width="30" />
<icon height="310" src="res/icons/windows/Square310x310Logo.scale-100.png" width="310" />
<icon height="106" src="res/icons/windows/Square44x44Logo.scale-240.png" width="106" />
<icon height="70" src="res/icons/windows/Square70x70Logo.scale-100.png" width="70" />
<icon height="170" src="res/icons/windows/Square71x71Logo.scale-240.png" width="170" />
<icon height="50" src="res/icons/windows/StoreLogo.scale-100.png" width="50" />
<icon height="120" src="res/icons/windows/StoreLogo.scale-240.png" width="120" />
<icon height="150" src="res/icons/windows/Wide310x150Logo.scale-100.png" width="310" />
<icon height="360" src="res/icons/windows/Wide310x150Logo.scale-240.png" width="744" />
<icon height="44" src="res/icons/windows/Square44x44Logo.scale-100.png" width="44" />
<icon height="71" src="res/icons/windows/Square71x71Logo.scale-100.png" width="71" />
</platform>
問題
如何使我的應用程序在任務欄上的圖標與其左側的所有其他圖標相同。
有什麼想法?
感謝。
編輯發行後解決
只是想分享的成果。 感謝@TruthSeeker我的任務欄圖標現在看起來像,
謝謝:)
我跟着https://cordova.apache.org/docs/en/latest/config_ref/images.html#windows,對我來說它工作的很好。你可以嘗試..或如果堅持相同的錯誤,然後嘗試設置不同的隨機圖像圖標進行測試.. – Naitik