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

Dock Postion changed when Resize the browser

1 Answer 30 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Gopalakrishnan
Top achievements
Rank 1
Gopalakrishnan asked on 20 Sep 2010, 08:00 AM
Here i attached two files one is widgets showing as well in the first file
First row takes two widgets and second row takes three widgets , this is correct.
but in the scond file  second row takes only two wdgets this is happening while resize the browser
i need three widgets should get take in the second row

Please help me.

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 22 Sep 2010, 12:39 PM
Hello Gopalakrishnan,

I suppose (seeing from the screenshots) that you have zone with Horizontal Orientation. This means that the docks inside will be ordered horizontally, instead off stacked vertically. We achieve this behavior by setting float: left to the docks inside the horizontal zone. If there is no enough space (i.e. Width) on the current row to place a given dock, the dock will be moved to the next row. This is how CSS floating works. The floated elements will be shown right next to the other if there is enough Width.
So, if you have specified the Width of the zone in percentage values, then, on browser's resize the zone will also resize. In case the Width of browser window becomes smaller, the zone's Width will also become smaller, which means there won't be enough space for one (or more) of the docks and the dock(s) will appear on the next row, expanding the height of the zone (or overflowing it).
To avoid this RadDockZone's Width should be specified in pixels.


All the best,
Pero
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Dock
Asked by
Gopalakrishnan
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or