This is a migrated thread and some comments may be shown as answers.

Toolbar Button size changed after upgrading to 2013.1.403.40 (Q1 2013 SP1)

1 Answer 76 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Dean
Top achievements
Rank 1
Dean asked on 10 Apr 2013, 08:29 PM
After upgrading to Q1 2013 SP1 (2013.1.403.40) my RadButtons inside the RadToolBar became huge and I cannot control their size with Height and Width properties. Please take a look at the attached before and after screen shots.

Here is my XAML:

<t:RadToolBar DockPanel.Dock="Top" Margin="0" Width="{Binding ElementName=DockPanelMain, Path=ActualWidth}" 
  IsTabStop="False" GripVisibility="Collapsed" OverflowButtonVisibility="Collapsed">
  <t:RadButton>
    <Image Stretch="None" Source="Images/Image32.png" />
  </t:RadButton>
...
</t:RadToolBar>

I tried removing Width="{Binding ElementName=DockPanelMain, Path=ActualWidth}" but that didn't help. I also tried adding Width="36" Height="36" to RadButton and  Width="32" Height="32" to the Image but that did not help either...

What do I need to do to get my buttons to normal size again?

Thanks...

1 Answer, 1 is accepted

Sort by
0
Dean
Top achievements
Rank 1
answered on 10 Apr 2013, 08:48 PM
Sorry, I had an implicit style based on RadButtonStyle that was being applied to all RadButtons and it defined the MinWidth as 70. I created the explicit style and applied that to RadButtons within the RadToolBar only and that solved the problem... Not sure why these buttons were not as big before the Q1 SP1 update though...
Tags
ToolBar
Asked by
Dean
Top achievements
Rank 1
Answers by
Dean
Top achievements
Rank 1
Share this question
or