|
-
Aug 1st, 2012, 06:38 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Auto-Resize Controls at Runtime
I have created a stackpanel (Dim myPanel as New StackPanel) and placed it inside a Grid with its width set to Auto. I set the width for the panel to: myPanel.Width = 500. Now when running the window in other screens the parent grid displays fine but the panel is much smaller than I want. How do I set the Width for the stackpanel sothat it resizes correctly in every screen. I guess there is no code needed in order to figure out the solution. Thanks for assisting.
Last edited by Joacim Andersson; Aug 2nd, 2012 at 05:26 AM.
Reason: Marked as resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|