[SOLVED] Keep everything in view when web browser resize?

Answered Closed
0
0

Is there a way to automatically have what’s on the browser be in view at all times?

For example, if I’m making a page, when the browser resizes, the items go off-screen, same for a window.

What control do I use to make sure everything will be on the screen when the browser resizes or if the user is on mobile?

  • You must to post comments
Best Answer
0
0

You can use Anchoring, Docking, FlowLayoutPanel, FlexLayoutPanel, TableLayoutPanel. Can be used also in combination with AutoSize and AutoScroll, MinSize, MaxSize. The FlowLayoutPanel and FlexLayoutPanel add a number of layout properties to their children. i.e. You can use FillWeight to make controls fill the remaining space.

See attached.

  • You must to post comments
Showing 1 result