Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

Rad Button Style Problem 2016.1.113

$
0
0

When adding a RadButton with an icon to a RadSlidingPane it messes up the formatting of the button and places the text under the icon.

This is the button code:

<telerik:RadButton ID="RadButton2"runat="server"Text="Test"Width="125px"Skin="Default"RenderMode="Lightweight">
    <Icon PrimaryIconCssClass="rbAdd"></Icon>
</telerik:RadButton>

 When I view the generated source it is adding the following in-line styles to the button.

<span class="rbText rbPrimary"style="width: 100%; padding-right: 0px; padding-left: 4px;">Test</span>

If I take the same exact button and place it outside of the RadSlidingPane the inline styles are gone and the button looks normal.

See attached image for an example of how the button displays improperly.

 

 

 

 


Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>