Feb 07, 2022, 11:40 PM
[OPEN] [#1872] Behavior or LabeAlign="top"
Hello
in following example, why the second dropdown have half size of the first one please?
Is that default behavior of the align=Top ?
in following example, why the second dropdown have half size of the first one please?
Is that default behavior of the align=Top ?
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Dropdown field with multi selection example</title>
<link href="/resources/css/examples.css" rel="stylesheet" />
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:Window runat="server" Layout="fit" Width="500">
<Items>
<ext:Panel Frame="False" runat="server" >
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Items>
<ext:FieldContainer runat="server" Flex="1">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Items>
<ext:ComboBox runat="server" LabelAlign="Left" FieldLabel="Correctly stretched" IndicatorIcon="BulletRed"></ext:ComboBox>
<ext:ComboBox runat="server" LabelAlign="Top" FieldLabel="Incorrectly streched" IndicatorIcon="BulletRed"></ext:ComboBox>
</Items>
</ext:FieldContainer>
</Items>
</ext:Panel>
</Items>
</ext:Window>
</form>
</body>
</html>