CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2008
    Posts
    49

    BorderLayout... make the component in center the full width?

    is it possible to make the component in the center of the of the border layout, be full width of the frame?

  2. #2
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: BorderLayout... make the component in center the full width?

    In theory, yes - the docs say the Centre region can expand to occupy any free horizontal or vertical space, so if there are no components East or West, it presumably will.

    The simplest answer is try it and see.

    But then why use a BorderLayout ?

    Imagination is more important than knowledge...
    A. Einstein
    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

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

Featured