Nov 05, 2012, 3:05 PM
Setting Button width in FormLayout window for a button outside the Buttons tag
Hi, this is my first post on these forums.
Is it possible to have a button that will not take up the whole line in a FormLayout window?
For example the last Item in the Items tag.
In any case, I don't want this button to be next to the other two because it is related mainly to the form.
Is it possible to have a button that will not take up the whole line in a FormLayout window?
For example the last Item in the Items tag.
In any case, I don't want this button to be next to the other two because it is related mainly to the form.
<ext:Window
ID="Window_AssignVariables"
runat="server"
Height="600"
Width="800"
Title="Assign Variables/Values"
BodyStyle="background-color: #fff;"
BodyPadding="5"
Modal="true"
Hidden="true"
Resizable="false"
Layout="FormLayout"
ButtonAlign="Center"
Closable="false">
<Items>
<ext:TextField ID="TextField_ChangedInSP" runat="server" EmptyText="Changed In SP"/>
<ext:TextArea ID="TextArea_CommentInput" runat="server" EmptyText="Set to Comment Input"/>
<ext:Button runat="server" ID="Button_AssignVariables_Clear" Text="Clear" Icon="Erase" />
</Items>
<Buttons>
<ext:Button ID="Button_AssignVariables_OK" runat="server" Text="OK" >
<DirectEvents>
<Click OnEvent="Window_AssignVariables_OK" />
</DirectEvents>
</ext:Button>
<ext:Button ID="Button_AssignVariables_Cancel" runat="server" Text="Cancel" >
<DirectEvents>
<Click OnEvent="Window_AssignVariables_Cancel" />
</DirectEvents>
</ext:Button>
</Buttons>
</ext:Window>