Bonjour, actuellement je développe en javascript avec la librairie extjs une fenêtre de choix de la langue pour un serveur web. Dans cette fenêtre je souhaite agrandir les boutons radio que j'ai créer. Malheureusement lorsque j'essaye de les agrandir, les boutons radio ce déplacent. Si quelqu'un a une solution à mon problème je suis preneur, merci a vous et voici mon code pour la création graphique de ma fenêtre :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
  var mainpanel = new Ext.FormPanel({  
        id: 'lgslct_panel',
        baseCls:'x-plain',
        bodyStyle:'padding:900px 900px 900px 900px',
        autoHeigth: true,
        layout: 'absolute',
        items:[{
            x: 275,
            y: 10,
            xtype: 'label',
            text: 'Choix de la langue'       
        },{
            x: 275,
            y: 25,
            xtype: 'label',
            text: 'Choose language'
        },{
            x: 275,
            y: 40,
            xtype: 'label',
            text: 'Scelta della lingua'
        },{
            height: 300,
            autoWidth: true,
            layout: 'column',
            baseCls:'x-plain',
            bodyStyle:'padding:50px 0px 0px 0px;',
            items: [{
                columnWidth:.33,
                baseCls:'x-plain',
                bodyStyle:'padding:20px 20px 10px 20px;',   
                //colonne 1
                items: [{
                    html: '<img src = "http://photos3.fotosearch.com/bthumb/CSP/CSP400/k4000627.jpg" />',
                    height: 120,
                    width: 170
                }]
            },{
                columnWidth:.33,
                baseCls:'x-plain',
                bodyStyle:'padding:20px 20px 10px 20px;',   
                  // Colonne 2
                items: [{
                    html: '<img src = "http://cdn6.fotosearch.com/bthumb/CSP/CSP365/k3653542.jpg" />',
                    height: 120,
                    width: 170
                }]
 
             },{
                columnWidth:.33,
                baseCls:'x-plain',
                bodyStyle:'padding:20px 20px 10px 20px;',   
                 // Colonne 3
                items: [{
                    html: '<img src = "http://photos3.fotosearch.com/bthumb/CSP/CSP400/k4000625.jpg" />',
                    height: 120,
                    width: 170
                }]
            }] 
 
 
        },{    
 
            x:95,
            y:200,
            xtype: 'radio',
            height: 40,
            width: 40,
            id: 'lgslct_frradio',
            listeners: {
                check: onSelectFrRadio
            }
 
        },{    
            x:305,
            y:200,
            xtype: 'radio',
            height: 40,
            width: 40,
            id: 'lgslct_engradio',
            listeners: {
                check: onSelectEngRadio
            }
 
        },{    
            x:510,
            y:200,
            xtype: 'radio',
            id: 'lgslct_itaradio',
            height: 40,
            width: 40,
            listeners: {
                check: onSelectItaRadio
            }
 
        },{
            x:20,
            y:260,
            xtype: 'checkbox',
            id: 'lgslct_ckbox',
            boxLabel: IDS_SLCTLANG_CHKBOX_LABEL,
            listeners: {
                check: onSelectCheckBox
            }
 
        }]
 
    });
 
    /* Fenêtre */
    dlgwin = new Ext.Window({ 
       id:'lgslct_selectlanguage', 
       title: mInstr.sInstrType,
       layout:'anchor', 
       width:645,,
       height:360,
       closable:false, 
       resizable: false, 
       modal: true, 
       buttonAlign:'center',
       buttons:[
       { 
         text:IDS_SLCTLANG_VALID, 
         handler:OnSelectValid 
       },
       { 
         text:IDS_SLCTLANG_CANCEL, 
         handler:OnSelectCancel 
       }]
    });
 
    dlgwin.add(mainpanel);
}