Hi,
I am adding buttons to the ribbon but i can not find a property to change the height and width of the button. it keeps its default size. Can you help please?
thanks,
Kamal
Both the height and width of ButtonTools are based on the content. You can make the ButtonTool into a large tool which spans the height of the RibbonGroup by setting its InstanceProps.MinimumSizeOnRibbon or InstanceProps.PreferredSizeOnRibbon to Large. However, the width cannot be modified for ButtonTools. There are some properties which can have their InstanceProps.Width property set, but the ButtonTool is not one of them. I believe only editor tools, LabelTools, and ControlContainerTools can have their width set.
thanks for your reply. I am sorry to be a pain but i could not find the property in the property panel. Would you have an example please?
Thanks.