xaml - Xamarin.Forms Toolbar Item Icon Size -


i have xamarin.forms pcl project , trying add toolbar app below , target platform uwp.

<contentpage.toolbaritems>     <toolbaritem icon="attach.png" order="primary" priority="1" />     <toolbaritem icon="camera.png" order="primary" priority="1" />     <toolbaritem text="item1" order="secondary" priority="1" />     <toolbaritem text="item2" order="secondary" priority="2" />     <toolbaritem text="item3" order="secondary" priority="3" />     <toolbaritem text="item4" order="secondary" priority="4" /> </contentpage.toolbaritems> 

i have added icon sources root folder of uwp project. when run app on windows 10 desktop, icons appears small. orginal size of image okay though. enter image description here

i appreciated if know how fix this.

unfortunately, can't reproduce issue in side. , have used same icon in uwp , xamarin.forms comparison. not make difference in size.

enter image description here

the size of toolbaritem icon fixed. if used icon text description, image small, in case of can set toolbaritem text property. when click more button, toolbaritems expanded text can display well. , you'd better use image active area big enough.

<toolbaritem icon="camera.png" order="primary" priority="1" text="camera"/> 

enter image description here


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -