Hello allI have a ExplorerBar (Infragistics 4 (13.2))How can I change the space between items ?I already played arround with ItemAreaInner(and outer)Marginsbut this does not work. This only changes spaces on top or bottom of all items.Thanks and best regardsFrank Uray
Frank,
Try something like this:
ultraExplorerBar1.Groups[0].ItemSettings.Height = 50;
That worked for me.
Hi MichaelThank you for your answer, but this does not help for me.It just changes the height of the items and not the space between the items.RegardsFrank Uray
I guess I misunderstood. I thought that by increasing the height of the items you would in effect be increasing the space between them. How have you set the Style of the UltraExplorerBar? What style are you using?
Hi MichaelWell, I just set Appearances like BackColor, ForeColor, BorderColor, Fontfor GroupSettings and ItemSettings and so on.Thank you for your effortFrank
So. does that work for you?
OK, I'm sorry. Again, I misunderstood. But I would like to know which style you are using for the UltraExplorerBar. Because I am having trouble making my sample look like yours.
Don't worry about the style,just try to change the space between your items :-)Basically I set this and lot's of appearances (BackColors and so on, nothing special)this.ultraExplorerBar_Main.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;this.ultraExplorerBar_Main.ItemSettings.HotTrackStyle = Infragistics.Win.UltraWinExplorerBar.ItemHotTrackStyle.HighlightEntireItem;this.ultraExplorerBar_Main.GroupSettings.HotTracking = Infragistics.Win.DefaultableBoolean.True;this.ultraExplorerBar_Main.ItemSettings.Indent = 0;this.ultraExplorerBar_Main.ShowDefaultContextMenu = false;Does this help you ?Thanks :-)
this.ultraExplorerBar_Main.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
this.ultraStatusBar_Main.UseOsThemes = Infragistics.Win.DefaultableBoolean.False;
this.ultraExplorerBar_Main.ItemSettings.HotTrackStyle = Infragistics.Win.UltraWinExplorerBar.ItemHotTrackStyle.HighlightEntireItem;
this.ultraExplorerBar_Main.GroupSettings.HotTracking = Infragistics.Win.DefaultableBoolean.True;
this.ultraExplorerBar_Main.ItemSettings.Indent = 0;
this.ultraExplorerBar_Main.ShowDefaultContextMenu = false;
I have checked with our developers and there is no way to do this. The spacing between items is hard coded in the source code. I suggest that you submit this as a product idea. Here is the link to our "Product Ideas" page:
http://ideas.infragistics.com/