Dec 22, 2019, 11:01 AM
[CLOSED] How To set FitHeight=true for Columnlayout on codebehind?
Hi,
I'm in the process of migrating to EXT.Net 5, but I'm struggling to know how to set FItHeigth = true on a ColumnLayout, in older versions This was a property of the columLayout, but I do not find what is the equivalent on EXT.Net 5 as it does not appear as an option on ColumLayoutConfig
Regards
I'm in the process of migrating to EXT.Net 5, but I'm struggling to know how to set FItHeigth = true on a ColumnLayout, in older versions This was a property of the columLayout, but I do not find what is the equivalent on EXT.Net 5 as it does not appear as an option on ColumLayoutConfig
ViewPort vp = new ViewPort();
vp.Layout="ColumnLayout";
//these 2 lines does not seem to make the trick
ColumnLayoutConfig clcfg=new ColumnLayoutConfig();
clcfg.ConfigOptions.Add("FitHeigth",true,true);
vp.LayoutConfig.Add(clcfg);
Panel mainPanel=GetMainPanel();
vp.Items.Add(mainpanel);
mainPanel.ColumnWidth=1;
Panel btnsPanel=GetButtonsPanel();
vp.Items.Add(btnsPanel);
return vp;
I'm sure that it is a simple thing, but I do not find out how to set it.Regards
Last edited by fabricio.murta; Mar 13, 2020 at 10:58 PM.
Reason: no feedback in over 7 days