Smooth changing of PanelRegion width (like manual dragging)

Hallo,
I'm testing TIWCGJQLayout component with 2 TIWCGJQLayoutPanelRegions.
By hand I can change the width of both panels smoothly by dragging the border between both panels.
How can I do that by source code?
(Following is runing, but it's not so smooth as by hand. It's plopping in new positions.)
I'm testing TIWCGJQLayout component with 2 TIWCGJQLayoutPanelRegions.
- Code: Select all
LAY_BasisPanel: TIWCGJQLayout;
LAY_ClientPanel: TIWCGJQLayoutPanelRegion;
LAY_RightPanel: TIWCGJQLayoutPanelRegion;
LAY_ClientPanel.Align := alClient;
LAY_RightPanel.Align := alRight;
LAY_RightPanel.Width := 300;
By hand I can change the width of both panels smoothly by dragging the border between both panels.
How can I do that by source code?
(Following is runing, but it's not so smooth as by hand. It's plopping in new positions.)
- Code: Select all
LAY_RightPanel.Width := 500;
LAY_BasisPanel.AjaxReRender(false, true);