Bonjour à tous,
Depuis maintenant deux jours je cherche à augmenter la taille en hauteur du trigger (je ne sais pas si c'est bien son nom) car j'ai un combobox de 32px de hauteur.
Sur notre ami Google, j'ai bien trouvé ceci mais hélas cela n'a aucun effet chez moi.
Dans mon CSS :
Code css : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 .x-form-field-wrap .x-form-trigger { height:32px; } /* autre effet */ .custom-combo .x-form-field:not(.x-field-form-focus) { border : 1px solid transparent; background : none; } .custom-combo .x-form-item-body:not(.x-form-trigger-wrap-focus) .x-form-trigger { background : none; border-bottom : 1px solid transparent; }
Et le code de mon combo dans ma vue est :
Mon CSS est bien appelé car j'ai un autre effet sur le combo qui lui fonctionne bien.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 { xtype : 'combobox', width : 400, height : 32, fieldStyle : 'font-size:14px;font-family:arial', emptyText : 'Enter your search terms', triggerCls : 'x-form-search-trigger', cls : 'custom-combo' },
Auriez vous une piste car là je commence à tourner en rond dans mes recherches...
D'avance merci,
Bruno
Partager