Minimizing the ribbon leave a line that goes over the tabs

Oct 7, 2014 at 2:26 PM

I'm using the 2013 Office themes. I have added a button to minimize the ribbon bar on my MDI form. When it is minimize, there is a line draw that goes from left to right in the middle of the tabs.
Is there a way to get rid of this line?

Nov 19, 2014 at 4:13 AM
I don't think there should be a line from pics of Office 2013, so I deleted it from my copy. I am also doing some other clean up of the 2013 theme and hope to update it here sometime.

If you have access to the source, you can comment out the line:

g.DrawLine(p, OrbBounds.Left, OrbBounds.Bottom , Bounds.Right, OrbBounds.Bottom );

in the Office_2013 section of the PaintOn method in Ribbon.cs. The line will not be drawn.

Jan 9, 2015 at 11:54 AM
Correction now implemented in latest changeset.
Marked as answer by Stumpii on 1/9/2015 at 4:54 AM