CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2000
    Location
    St.Petersburg, Russia
    Posts
    59

    table layout needed

    I need an layout manager that lays componets out like HTML's <table> control.
    java.awt.GridLayout seems is not match as width-of-each-component is the width-of-widest-component.



  2. #2
    Join Date
    Sep 2000
    Location
    Melbourne --> Australia
    Posts
    68

    Re: table layout needed

    Hi
    Its possible to do that with a FlowLayout(if each
    Object is equal in size to the cell above and below it).
    The FlowLayout lays each component from left to
    right at its intrinsic size.
    Also a GridBagLayout is possible, but there is much more fiddling involved in getting a GridBagLayout just right.

    Phill


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