Results 1 to 4 of 4

Thread: Stack panel of custome controls

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2012
    Posts
    423

    Stack panel of custome controls

    i have a simple form with a stack panel docked to full screen size.

    On my stack panel I have 18 customer controls (square in size)

    Is it possible to resize the square so they will my form a run time and resize the font label on my control again at run time depending on the size of my window which will be the size of my screen

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    38,988

    Re: Stack panel of custome controls

    I think you're going to have to rephrase that question. This is a WPF question, isn't it?
    My usual boring signature: Nothing

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2012
    Posts
    423

    Re: Stack panel of custome controls

    Quote Originally Posted by Shaggy Hiker View Post
    I think you're going to have to rephrase that question. This is a WPF question, isn't it?
    well this can be done in wpf but can you replicate in winforms at all?

    if could do a function to say if form size is x use font size y etc but are there any alternatives

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    38,988

    Re: Stack panel of custome controls

    Not simple ones. That's what WPF is all about. In WinForms, you can do all the sizing and adjusting, you just have to do it yourself, which is sometimes easy, but usually not.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width