[CLOSED] Ext.Net panel layout config...

  1. #1

    [CLOSED] Ext.Net panel layout config...

    Hi how can i configure layout from code c#?
    Example:
    Ext.Net.Panel ExtPan = new Ext.Net.Panel();
                ExtPan.Layout = "ColumnLayout";
    and i wanna add colums width to it...
    Last edited by Daniil; May 23, 2012 at 8:27 PM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi,

    Example
    Ext.Net.Panel panel = new Ext.Net.Panel();
    panel.Layout = "ColumnLayout";
    
    Ext.Net.Panel column1 = new Ext.Net.Panel();
    column1.ColumnWidth = 0.5;
    
    Ext.Net.Panel column2 = new Ext.Net.Panel();
    column2.ColumnWidth = 0.5;
    
    panel.Items.Add(column1);
    panel.Items.Add(column2);

Similar Threads

  1. Layout within Panel
    By AlexMaslakov in forum 1.x Help
    Replies: 3
    Last Post: Oct 31, 2011, 9:41 AM
  2. [CLOSED] Layout problem with a Panel
    By Bert76 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 12, 2011, 8:13 AM
  3. panel layout help
    By norphos in forum 1.x Help
    Replies: 1
    Last Post: May 30, 2011, 6:55 AM
  4. [CLOSED] [1.0] fit panel layout
    By PoloTheMonk in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Feb 23, 2010, 3:57 AM
  5. [CLOSED] Panel with Layout="Card" in v 1.0
    By egodoy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 04, 2010, 12:29 PM

Posting Permissions