Add-In Control Size

wakestarwakestar Member Posts: 207
edited 2013-03-01 in NAV Three Tier
Hi all

I created a .NET Add-In for NAV 2013 which is a Panel (Panel : ScrollableControl)
Inside this Panel there are two FlowLayoutPanel's. Each of them has a number of Controls (TextBox, PictureBoxes,etc.)
Let's say the size of the Panel is 100 x 100. The Add-In itself is inside a factbox in NAV which is shown on many different
pages.

My question is: What properties should I use to make sure that the Panel is always shown properly in NAV?
(AutoSize, Size, Dock, PreferredSize, etc)? Is there a best practice?

I'm asking this because in NAV you don't have to worry about the size of pages (properties not available)
On the .NET side I have all the properties for the control (Panel) available.
The question is how to use them properly so the control fits well inside the factbox in NAV.
Sign In or Register to comment.