tool bar icons' size are not right

Stimulsoft Reports.WEB discussion
Post Reply
Chengkun
Posts: 5
Joined: Thu Nov 14, 2013 2:18 am

tool bar icons' size are not right

Post 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.
Attachments
Untitled.png
Untitled.png (113.74 KiB) Viewed 1307 times
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: tool bar icons' size are not right

Post 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.
Chengkun
Posts: 5
Joined: Thu Nov 14, 2013 2:18 am

Re: tool bar icons' size are not right

Post 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.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: tool bar icons' size are not right

Post by Vladimir »

Hello,

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

Thank you.
Post Reply