I have a UI which looks like:
In short, it’s a menubar on top, 3 panes in the middle (each separated with a splitter) and a bottom pane separated from the rest with a splitter.
What I need is that when the window is resized, these panes resize with it as well. I realize it’s hard to achieve this without percentages, so instead I’d be happy to just have the bottom and right panes resize automatically.
Unfortunately, when I tried setting panel sizes as percentages, they just wouldn’t work… so I don’t know if there is any code to handle percentages or not.
Edit: The following code will come into the equation somewhere…
jQuery(window).resize(function(){ /* somehow tell splitters to refresh */ });