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

Ribbonbar Image Problem

3 Answers 126 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Yo
Top achievements
Rank 1
Yo asked on 04 Sep 2013, 09:03 AM
Please see the attached image that show my Ribbonbar image has been cut in half ?

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 Sep 2013, 12:29 PM
Hi Yo,

Such an issue can happen if you are setting very large images as the ImageUrl of the items such as RadRibbonBar button. Check the attached image radribbonbar1.jpg. I suggest you choose small images so that it fit properly in the dedicated space.
Another suggestion is you can increase the dimension of the image placeholder by overriding the CSS as follows. Check the attached image radribbonbar1.jpg

CSS:
<style type="text/css">
    .RadRibbonBar .rrbLargeButton .rrbImagePlaceholder
    {
        height: 100px !important;
        width: 100px !important;
    }
</style>

Thanks,
Shinu.
0
Yo
Top achievements
Rank 1
answered on 05 Sep 2013, 02:09 AM
Hi Shinu,

       Thank you for your answer.
But no matter how small image i use. The result still the same.
I have attached one of the image i used and the image is from the demo project.
So i don't think it should be the image problem.
0
Shinu
Top achievements
Rank 2
answered on 05 Sep 2013, 04:26 AM
Hi Yo,

Can you please post the full code you tried so that I can try to replicate the issue at my end?

Thanks,
Shinu.
Tags
RibbonBar
Asked by
Yo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Yo
Top achievements
Rank 1
Share this question
or