This project is read-only.

ToggleButton in DropDownButton - IconSize Problem

Jul 15, 2010 at 10:03 AM
Edited Jul 15, 2010 at 10:07 AM
Hello Guys, it seems, that when you add an ToggleButton (Size = medium) to a DropDown, the SmallIcon is not sized correctly. It will cut of 1 or 2px from the top and the bottom. I think, the Margin is not set correctly. If I use a normal Button instead, it looks perfect. Btw. the ToggleButton (Size = small) has the same problem, when you add it to a RibbonGroup. To fix this, i changed the Margin from: 1,2,2,2 to 0,0,0,0 in ToggleButton.xaml (I think it was line 51). cheers, Chris Edit: I am using Changeset: 51427.
Jul 15, 2010 at 10:06 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.