Page 1 of 1

tool bar icons' size are not right

Posted: Thu Nov 14, 2013 2:46 am
by Chengkun
Hi,
I am using StiMvcViewer(2013.2) to render a report in my ASP.NET application. I found that tool bar icons are render with padding on left and right sides, that makes all icons shrinked.

Re: tool bar icons' size are not right

Posted: Thu Nov 14, 2013 2:18 pm
by Vladimir
Hello,

Most likely, in your styles defined global style for all images. Please try to add the following style to your project:

Code: Select all

    @Html.Stimulsoft().RenderMvcViewerScripts()
    <style>
        #MvcViewer img {
            padding: 0;
        }
    </style>
Thank you.

Re: tool bar icons' size are not right

Posted: Fri Nov 15, 2013 4:53 am
by Chengkun
It seems that Bootstrap style was interfering with the tool bar style. I have to use "padding: 0!important;" to fix the icon issues.

Thanks.

Re: tool bar icons' size are not right

Posted: Fri Nov 15, 2013 6:17 am
by Vladimir
Hello,

Thanks for the comment. We will try to override these styles in MvcViewer controls.

Thank you.