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

Space between RadRibbonBar and acutal border

2 Answers 51 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Robin
Top achievements
Rank 1
Robin asked on 10 Jul 2012, 09:55 AM
Hello,

I'm using a RadRibbonBar, which is placed inside of a Rad Pane. I've set the width of the RibbonBar to 100% because I want it to cover up the whole page, but unfortunately there still are a few pixels of blank space between the end of the RibbonBar and the border of the page. Setting padding, margin, BorderWidth or BorderStyle of any of the controls didn't change anything.
Do you have any suggestions on how to fix this?

Thanks in advance,
Robin

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 10 Jul 2012, 11:37 AM
Hi Robin,

Try overriding the default CSS as follows.

CSS:
<style type="text/css">
  .RadRibbonBar .rrbContentWrapMid
  {
     margin-left: -2px !important;
    margin-right: -2px !important;
  }
</style>

Hope this helps.

Thanks,
Princy.
0
Robin
Top achievements
Rank 1
answered on 10 Jul 2012, 11:55 AM
Hi Princy,

thank you very much for the fast answer. The suggested solution pretty much fixed my problem.

With regards,
Robin
Tags
RibbonBar
Asked by
Robin
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Robin
Top achievements
Rank 1
Share this question
or