See Kendo UI v2019.1.220 Distributed Source Code module kendo.splitter.js _resize() method (Lines 285-240)
1) The splitter _resize method iuses jQuery width() and height() methods to set pane sizes.
2) These methods get/set the clientHeight and clientWidth of the pane element rather than the offsetWidth and offsetHeight.
3) If any pane has a border or padding, the last pane will extend beyond the limits of the splitter element.
4) Recommend using offsetWidth and offsetHeight to get/set all pane sizes.
<
div
id
=
"top_pane"
>
<
div
style
=
"padding: 40px; border:4px solid green;"
>asd asdasd </
div
>
</
div
>
Oops, I meant to say
https://dojo.telerik.com/@nyditot/ORIXaXeJ
The only thing did was change the line:
<div id="top_pane" >
to
<div id="top_pane" style="padding:40px;border:4px solid red;">
and
<div id="bottom_pane" >
to
<div id="bottom_pane" style="border:4px solid green;">
You will notice that the rightmost pane now extends beyond the right border of the splitter by 4 + 40 + 40 + 4 + 4 + 4 = 96 pixels, the sum of left and right borders and paddings.