views:

218

answers:

1

Hi pals,

I'm having an issue working with the Toolbar control for WPF in Blend 3:

I have a Toolbar control that is binded to a collection so that it displays both icons and labels for each one of the actions that users can perform on this application. The issue I'm having is that when I run the application the buttons are displayed inside the OverFlow Panel instead of the toolbar although there is a lot of space to fit them all inside the toolbar.

The only way of making them appear on their positions is resizing/maximizing the window, so I'm lost trying to figure out what's the reason for the icons to appear inside the overflow panel if there aren't too many buttons used and enough space to fit them all?.

I'm including the following screenshot to make the issue clearer:

http://www.pgcoms.com/blend/toolbarCapture.PNG

Would really appreciate your help on this. Thanks! Daniel

+1  A: 

Hey Daniel.. did you have any luck with your issue? I've got the same thing happening and scratting my head as to why!

Cheers

Shrop Milo
Hey Shrop!I tried doing many things on Blend to see if it worked but didn't and therefore my only guess was that the data coming from a service (the labels on the buttons of the toolbar and their actions), was being loaded after the toolbar was, and therefore, items were not put into the right place at first and when you maximize/resize the window they get into their original position as the application "notices" there are no other items on the toolbar as to put them all on the overflow panel.
Daniel
Sounds kind of weird and those were my initial assumptions which were confirmed later on by the developers. Haven't talk to them again yet to know how they exactly fixed it but well, hope it gives you a hint!ThanksDaniel
Daniel