[CLOSED] TableLayout - AbstractComponent - Sizing

  1. #1

    [CLOSED] TableLayout - AbstractComponent - Sizing

    Hi,

    I wonder if you can help me

    I am using the TableLayout to control the layout of my dynamically created form

    I have 7 components on the panel with a total column width of 90 and some components set to a colspan of 30

    But the component does not stretch to accomodate the colspan of 30 it says the standard width of the component

    How do i get the component to stretch or size based on the colspan and rowpan it needs to occupy on the panel

    Please advise

    Thanks

    Mac
    Last edited by Daniil; Jun 18, 2013 at 4:01 AM. Reason: [CLOSED]
  2. #2
    Hi @macinator,

    It should stretch as here:
    https://examples2.ext.net/#/Layout/T...ple_in_Markup/

    Could you provide a test case to reproduce?
  3. #3

    TableLayout - AbstractComponent Sizinf

    Hi,

    That example uses html as the content of the panels not ext.net components -

    If my content of the panels is components (ie textboxes) it does not stretch

    Eventually, I have accomplished the task using a combination of vboxlayout and hboxlayout but I wondered if there was a better way as tablelayout is basically what i am trying to achieve

    Mac
  4. #4
    Yes, you might need to use inner layouts to get stretching.

    but I wondered if there was a better way as tablelayout is basically what i am trying to achieve
    Well, according to the requirement it looks good to use a TableLayout. But, in generally a TableLayout is a weak one. For example, you might face issues with resizing. If you need resizing, I would recommend to use a combination of VBox and HBox layouts to organize "table cells".

Similar Threads

  1. TableLayout - AbstractComponent - Sizing
    By macinator in forum 2.x Help
    Replies: 0
    Last Post: Jun 12, 2013, 9:11 AM
  2. [CLOSED] AbstractComponent is missing the MarkInvalid method
    By SFritsche in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 07, 2012, 11:18 AM
  3. Replies: 4
    Last Post: Oct 31, 2012, 9:39 AM
  4. [CLOSED] Toolbar items sizing
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 01, 2010, 1:30 PM
  5. Replies: 8
    Last Post: Oct 30, 2008, 11:26 AM

Posting Permissions