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

2 posts, 0 answers
  1. Dean K.
    Dean K. avatar
    55 posts
    Member since:
    Aug 2011

    Posted 10 Apr 2013 Link to this post

    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...
  2. Dean K.
    Dean K. avatar
    55 posts
    Member since:
    Aug 2011

    Posted 10 Apr 2013 Link to this post

    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...
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top