PDA

View Full Version : [CLOSED] Revision 3926 Layout Window CheckboxGroup (browser Chrome)



Aurelio
Apr 09, 2012, 12:54 PM
Hi, i have update at the last version: Revision 3926 dll:2.0.4480.19338 and i have a problem with layout in Google Chrome, in IE9 work ok.
Here is the immage: IE9 Ok
4084

Here is Chrome:
4085

Here is the code page:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="ARWebRevolution.WebForm2" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server">
</ext:ResourceManager>
<ext:Viewport ID="Viewport1" runat="server" Layout="border">
<Items>
<ext:Panel ID="PanelMagazzini" runat="server" Width="300" Region="West" Layout="AnchorLayout">
<Items>
<ext:GridPanel ID="GridPanelGruppoNegozi" runat="server" Title="Gruppi negozi" Height="120" />

<ext:GridPanel ID="GridPanelNegozi" runat="server" Title="Negozi" Height="150" />

<ext:GridPanel ID="GridPanelMagazzini" runat="server" Title="Magazzini non collegato al negozio" Anchor="100% -270" />
</Items>
</ext:Panel>
<ext:Panel ID="PanelMagazzinoNegozio" runat="server" Region="Center" Layout="FitLayout">
<Items>
<ext:FormPanel ID="FormPanelMagNeg" runat="server" ButtonAlign="Right" Title="Magazzino negozio..."
Cls="my-margins" BodyPadding="5" Layout="AnchorLayout">
<FieldDefaults LabelWidth="95" />
<FieldDefaults LabelSeparator="" />
<Items>
<ext:TextField ID="dspMagDes" runat="server" AnchorHorizontal="100%" FieldLabel="Magazzino:"
Name="MagDes" ReadOnly="true">
</ext:TextField>
<ext:CheckboxGroup ID="CheckboxMagNegOpz" runat="server" FieldLabel="" MarginSpec="5 0 0 100"
Layout="HBoxLayout">
<Items>
<ext:Checkbox ID="chkMagAziIsDef" runat="server" BoxLabel="magazzino principale" Name="MagAziIsDef"
ReadOnly="true" MarginSpec="0 10 0 0">
<ToolTips>
<ext:ToolTip ID="ToolTipchkMagAziIsDef" runat="server" Title="Opzione" Html="Se selezionato, il magazzino diventa il magazzino principale dell'azienda." />
</ToolTips>
</ext:Checkbox>
</Items>
</ext:CheckboxGroup>
<ext:GridPanel ID="GridPanelMagNeg" runat="server" Title="Magazzini Negozio" AnchorHorizontal="100%"
AnchorVertical="-80" MarginSpec="20 0 0 0">
<ColumnModel>
<Columns>
<ext:Column runat="server" ID="Column4" DataIndex="MagCod" Text="Codice" Width="80"/>
<ext:Column runat="server" ID="Column5" DataIndex="MagDes" Text="Magazzino" Flex="1" />
</Columns>
</ColumnModel>
<SelectionModel>
<ext:RowSelectionModel ID="RowSelectionModelMagNeg" runat="server" Mode="Single">
</ext:RowSelectionModel>
</SelectionModel>
</ext:GridPanel>
</Items>
<BottomBar>
<ext:Toolbar ID="Toolbar2" runat="server">
<Items>
<ext:Button ID="ButtonEdit" runat="server" Text="Modifica" Disabled="true" Scale="Medium"
IconUrl="Images/24/edit24.png" ToolTip="Modifica il magazzino del negozio."
ToolTipType="Title">
</ext:Button>
<ext:Button ID="ButtonDelete" runat="server" Text="Cancella" Disabled="true" Scale="Medium"
IconUrl="Images/24/delete24.png" ToolTip="Cancella il magazzino dal negozio."
ToolTipType="Title">
</ext:Button>
<ext:ToolbarFill ID="ToolbarFill1" runat="server" />
<ext:Button ID="ButtonSave" runat="server" Text="Salva" Scale="Medium"
Hidden="true" IconUrl="Images/24/save24.png" ToolTip="Salva le modifiche apportate"
ToolTipType="Title">
</ext:Button>
<ext:Button ID="ButtonCancel" runat="server" Text="Annulla" Scale="Medium" Hidden="true"
IconUrl="Images/24/cancel24.png" ToolTip="Annulla le modifiche apportate" ToolTipType="Title">
</ext:Button>
</Items>
</ext:Toolbar>
</BottomBar>
</ext:FormPanel>
</Items>
</ext:Panel>
</Items>
</ext:Viewport>
</form>
</body>
</html>


I have investigate and the problem is the control CheckboxGroup:


<ext:CheckboxGroup ID="CheckboxMagNegOpz" runat="server" FieldLabel="" MarginSpec="5 0 0 100"
Layout="HBoxLayout">


In previous versione it's work ok..if leave this control it's work ok.
The control FieldContainer have the same problem. (Open a new thread ? )

Thanks
Aurelio

Vladimir
Apr 09, 2012, 1:33 PM
I guess it is the same issue
http://www.sencha.com/forum/showthread.php?192517-4.1-RC1-layouts-problems-in-chrome18

It is required to wait fix from Sencha or try to apply the fix from that thread

Vladimir
Apr 09, 2012, 1:54 PM
Please update from SVN and retest

Aurelio
Apr 09, 2012, 2:04 PM
Hi Vladimir.....many thanks it works perfectly...mythical !!!

Thanks
Aurelio