lindat98
asked on
ToolStrip OverflowButton appearance is too small
I have become the developer for an existing application with a System.Windows.Form.SplitC ontainer. On the left side of the container is a TreeView control that, based on selection, determines what is seen in the right side of the container. The right side is setup with a Tool Strip pinned to the upper left corner and area for displaying various configurations of the selected left side node. The ToolStrip contains 1 -> n buttons (based on how many configurations there are). The CanOverflow property is True. The OverflowButton is correctly not displayed when not needed and is displayed correctly when the user either resizes the window of the application or when there are too many buttons to be displayed across the toolstrip. However, the OverflowButton and arrow are too small for the user to notice that there are more items (see image).
I set the following properties of the OverflowButton in hopes that the button would be wider and have the image on the button but it seems nothing I do works. How can I change the appearance of the OverflowButton item.
this.toolStrip1.OverflowBu tton.AutoS ize = false;
this.toolStrip1.OverflowBu tton.Size = new Size(50, 25);
this.toolStrip1.OverflowBu tton.Displ ayStyle = ToolStripItemDisplayStyle. Image;
this.toolStrip1.OverflowBu tton.Image = global::MyApp.Properties.R esources.N avButtonRi ght;I have become the developer for an existing application with a System.Windows.Form.SplitC ontainer. On the left side of the container is a TreeView control that, based on selection, determines what is seen in the right side of the container. The right side is setup with a Tool Strip pinned to the upper left corner and area for displaying various configurations of the selected left side node. The ToolStrip contains 1 -> n buttons (based on how many configurations there are). The CanOverflow property is True. The OverflowButton is correctly not displayed when not needed and is displayed correctly when the user either resizes the window of the application or when there are too many buttons to be displayed across the toolstrip. However, the OverflowButton and arrow are too small for the user to notice that there are more items (see image).
I set the following properties of the OverflowButton in hopes that the button would be wider and have the image on the button but it seems nothing I do works. How can I change the appearance of the OverflowButton item.
this.toolStrip1.OverflowBu tton.AutoS ize = false;
this.toolStrip1.OverflowBu tton.Size = new Size(50, 25);
this.toolStrip1.OverflowBu tton.Displ ayStyle = ToolStripItemDisplayStyle. Image;
this.toolStrip1.OverflowBu tton.Image = global::MyApp.Properties.R esources.N avButtonRi ght;
I set the following properties of the OverflowButton in hopes that the button would be wider and have the image on the button but it seems nothing I do works. How can I change the appearance of the OverflowButton item.
this.toolStrip1.OverflowBu
this.toolStrip1.OverflowBu
this.toolStrip1.OverflowBu
this.toolStrip1.OverflowBu
I set the following properties of the OverflowButton in hopes that the button would be wider and have the image on the button but it seems nothing I do works. How can I change the appearance of the OverflowButton item.
this.toolStrip1.OverflowBu
this.toolStrip1.OverflowBu
this.toolStrip1.OverflowBu
this.toolStrip1.OverflowBu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER