Jump to content

Windows Forms, Stretch gui element

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
killcode

killcode

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
Hello, I'm trying to figure out how i would be able to make the buttons and stuff stretch every time i maximize or minimize the window?
Posted Image

#2
ArekBulski

ArekBulski

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,376 posts
If you select those controls, and set Anchor to all four values, then it will work like that. Here is a little prototype for you, too.

Attached Files



#3
killcode

killcode

    Learning Programmer

  • Members
  • PipPipPip
  • 96 posts
hey its working, thanks :D
Posted Image

#4
ArekBulski

ArekBulski

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,376 posts
I even wrote a tutorial, in case you wanna look at it. But I see you worked it out yourself. Your welcome. :)
http://forum.codecal...r-property.html