Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
575
SmallImage is not resized to 16 x 16.It still shows as Large Image
posted

Hi,

I applied Small image in the application.but it shows as Large Image when i execute it.

Here is my code.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<igRibbon:XamRibbon x:Name="ribbon" Grid.Row

="0">

 

 

 

<igRibbon:XamRibbon.ApplicationMenu

>

 

 

 

<igRibbon:ApplicationMenu Image="Resources\Images\LogoWithoutBorders.ico" x:Name="AppMenu"

>

 

 

 

<igRibbon:ButtonTool x:Name="New" Caption="New" SmallImage="Resources\Icons\OBarCreateNew.png" IsEnabled

="False"/>

 

 

 

<igRibbon:ButtonTool x:Name="Query" Caption="Query" SmallImage="Resources\Images\database_lightning.png" IsEnabled

="False"/>

 

 

 

<igRibbon:ButtonTool x:Name="Submit" Caption="Submit" SmallImage="Resources\Icons\save.png" IsEnabled

="False"/>

 

 

 

<igRibbon:ButtonTool x:Name="Copy" Caption="Copy" SmallImage="Resources\Icons\EditCopy.png" IsEnabled

="False"/>

 

 

 

<igRibbon:ButtonTool x:Name="Delete" Caption="Delete" SmallImage="Resources\Icons\table_row_delete.png" IsEnabled

="False"/>

 

 

 

<igRibbon:ButtonTool x:Name="Print" Caption="Print" SmallImage="Resources\Icons\BtnPrint.png" IsEnabled

="False"/>

 

 

 

<igRibbon:ButtonTool x:Name="PPView" Caption="Print Preview" SmallImage="Resources\Icons\ButtonPrintPreview.png" IsEnabled

="False"/>

 

 

 

<igRibbon:ButtonTool x:Name="RestoreView" Caption="Restore View" SmallImage="Resources\Icons\16-image-check.png" IsEnabled

="False"/>

 

 

 

<igRibbon:MenuTool x:Name="Others" Caption="Others" SmallImage="Resources\Icons\24-image-add.png" IsEnabled

="False">

 

 

 

 

</igRibbon:MenuTool

>

 

 

 

<igRibbon:ButtonTool x:Name="CloseButton" Caption="Close" SmallImage="Resources\Icons\pcCloseButton.png" IsEnabled

="False"/>

 

 

 

<igRibbon:SeparatorTool

/>

 

 

 

<igRibbon:ButtonTool x:Name="Exit" Caption="Exit" SmallImage

="Resources\Images\exit.png" />

 

 

 

</igRibbon:ApplicationMenu

>

 

 

 

</igRibbon:XamRibbon.ApplicationMenu

>

 

Parents
No Data
Reply
  • 27093
    posted

    Hello,

    When creating a ribbon there are some guidelines defined from Microsoft that should be followed. This is one of them. If you think about it you probably wont remember seeing menus with different sized icons. This is why our Ribbon doesn't differentiate between SmallImage and LargeImage proeprties when they are used in the menu. You can look into the Microsoft guidelins here: http://msdn.microsoft.com/en-us/library/cc872782.aspx#icons

    Hope this helps.

    Sincerely,

    Petar Monov

    Developer Support Engineer,

    Infragistics, Inc

     

Children
No Data