Just want to make sure I understand...
Is it true that the ImageSizeSmall and ImageSizeLarge settings control both the image size as displayed in the ExplorerBarGroups and ExplorerBarItems?
For our groups, I'm using ImageSizeLarge=32x32 and ImageSizeSmall=16x16. I'd like to be able to display items using 24x24 images without changing the image size for the groups. Is this possible?
Thanks,
Jim
Hello Jim,
The ImageSizeSmall sets the actual size for the items images, the ImageSizeLarge sets the size for the Groups images.
So if you set the ImageSizeSmall to 24x24 you will get the result you want.
Please let me know if you have more questions.
Sincerely,
Matteo
Support Developer Engineer
Hello Matteo,
Thanks for the reply. What I was hoping was to allow the ExplorerBarGroups to have the ImageSizeLarge set to 32x32 but allow the ExplorerBarItems to be set to 24x24. I could find only one place to set the image size which affected both the groups and the items.
Regards,
Not 100%. I think I didn't explain fully what I was attempting.
The ExplorerBarGroups in our application use both the large (32x32) and small (16x16) image sizes. We've got the ExplorerBar Style set as OutlookNavigationPane. The large image when displayed normally and the small image is displayed when the user shows less buttons.
The sizes of the group images are static and won't change.
The user now has the ability to change the font of the items within the group, from size 8 through 20. Some examples are:
8pts (default)
12pts
20pts
What I wanted was to be able to set the size of the icon in the items based on the size of the font:
As you can tell, in the examples I have only 16 x 16 and 32 x 32 size images. I don't believe there's a way to change the icon size to 24 x 24 without affecting the icons in the groups.
Unless I'm missing something :>)
Attached is a small program where you can change at run time the size of the images, you can set the size at the values you want, even "new Size(18, 27)", if you so desire.
Sincerely,MatteoDeveloper Support EngineerInfragisticswww.infragistics.com/support
Matteo,
I spoke too soon. This doesn't work because there are multiple groups and each group's fonts can be changed independently. The suggested solution affects all groups.
This case will be closed in three business days if you don't have any more questions on this matter.
You can go ahead and close this.