If I add a ToolControl to a Toolbar in the application model it doesn't show up. However there is a gap at the place where it should be. If I add the same ToolControl directly to the Window Trim it is displayed. Is this a bug or am I missing something?
Paul Webster Messages: 6813 Registered: July 2009 Location: Ottawa
Senior Member
AFAIK that's a long standing issue. A toolbar with only a separator (with the control set) doesn't return any useful preferred size, and so is not visible. You can either add the ToolControl to the trim directly, or add a command to the toolbar that contains your ToolControl.