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

Borders causing scrollbars

1 Answer 100 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 12 Oct 2011, 09:02 PM
Nested splitter scenario

http://screencast.com/t/qhEThl1Tps20

So the inner splitter has a border which is causing the outer pane to generate a scrollbar based on 2px

So obviously I can style it out, so is that a bug, or just go and fix it with CSS?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 13 Oct 2011, 08:52 AM
Hello Steve,

Currently you should take care of the zero border and overflow:hidden style for the inner splitter, as in this demo:

http://demos.kendoui.com/splitter/index.html

We will probably resolve this out-of-the-box, e.g. by adding the two styles in the common CSS:

.k-pane > .k-splitter:first-child
{
       border-width: 0;
       overflow: hidden;
}

Best wishes,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Splitter
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Dimo
Telerik team
Share this question
or