❔ help with maximising screen application
hi!! i'm very new to c# and i'm currently working on the design of an application, but i'm struggling to resize the rest of the contents when the window is made full screen. i've attached photos of the code i thought to be relevant. i'm not quite yet familiar with all the coding terms so i apologise for the poor explanation
13 Replies
Uh, none of those files seem anywhere near working
oh god, sorry give me a sec
You probably set the size of whatever you have there manually or something
Use a grid layout, for example, and set the items inside to be stretched to max-width
Width="*"
IIRChey so i added a maxheight and maxwidth to the grid layout and this happened? i tried the "width="*"" but it came up with an error saying that it cannot be a string
i also tried it on the column and row definitions but that just made my stackpanel on the left wider?
Well, setting width or height to a given number of pixels... will make the thing a given number of pixels in size
Same goes for
Max-
MaxWidth="800"
will make sure your grid will never exceed 800px in width
Which is the exact opposite of what you want
Try just removing those?i didn't have those initially, the images i sent first show the program without them
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.