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

Mind boggled with splitter

3 Answers 128 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 1
Gabriel asked on 12 Jan 2012, 03:16 AM
I've spent the last day trying to create a splitter like this image: http://imageshack.us/photo/my-images/683/mockupm.jpg/

What I end up with is:
  • top vertical row shrinks and shows scrollbars
  • does not resize on window change
  • scroll bars showing vertically in horizontal rows despite having little content

I've followed this post: http://www.kendoui.com/forums/ui/splitter/100-window-height-splitter.aspx with no luck.
I've also copied everything Dimo posted and it doesn't work correctly - similar problem to what I've described above. Not sure if it is an IE9 thing...

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 12 Jan 2012, 10:28 AM
Hi,

 Could you provide the code which you have used? It is not possible to tell what's wrong without seeing it.

Greetings,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gabriel
Top achievements
Rank 1
answered on 13 Jan 2012, 06:29 AM
If you look at this Fiddle: http://jsfiddle.net/kyHHx/1/ you'll see what I mean. Some of the issue I mentioned before appear outside of jsFiddle but you can see what I mean anyway.

The splitter does not expand to 100% despite being told too. Also, I haven't a clue on how to make the right pane be 200px and the left the remainder without specify the entire horizontal row width in pixels (which I don't want).
0
Accepted
Dimo
Telerik team
answered on 13 Jan 2012, 09:08 AM
Hello Gabriel,

You must set a 100% height to the <html> element as well.

Pane width or height is controlled via the size property (accepts a string value)

http://jsfiddle.net/dimodi/kyHHx/3/

Regards,
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
Gabriel
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Gabriel
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or