Précédent   Forum des professionnels en informatique > PHP > Outils > Zend > Zend Framework
Zend Framework Forum d'entraide sur la programmation PHP avec Zend Framework. Avant de poster -> FAQ ZF, Cours ZF
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 10/03/2011, 09h55   #1
Membre régulier
 
Homme Vincent Leboulanger
Développeur informatique
Inscription : janvier 2005
Messages : 315
Détails du profil
Informations personnelles :
Nom : Homme Vincent Leboulanger
Localisation : France

Informations professionnelles :
Activité : Développeur informatique
Secteur : High Tech - Multimédia et Internet

Informations forums :
Inscription : janvier 2005
Messages : 315
Points : 80
Points : 80
Par défaut [ZF1.9.2]Zend form et decorator

Bonjour,
j'ai développé un formulaire à partir d'un formulaire existant car je ne connaissais pas vraiment Zend, et pas le temps d'apprendre correctement.

Mon formulaire utilise un decorator :


Code :
1
2
3
4
5
6
7
8
 
 $form->setElementDecorators(array(
            'ViewHelper',
            'Errors' ,
            array('decorator' => array('td' => 'HtmlTag'), 'options' => array('tag' => 'td')),
            array('Label', array('tag' => 'td')),
            array('decorator' => array('tr' => 'HtmlTag'), 'options' => array('tag' => 'tr')),
    ));
Le problème est que la colonne des libellés est trop courte et donc soit sur plusieurs lignes, soit chaché en partie le input.

Comment régler la taille des balises td, notamment 'Label' ?
D'avance merci.
Vince
vince29 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 11/03/2011, 11h27   #2
Membre confirmé
 
Patrick Barroca
Inscription : mai 2008
Messages : 178
Détails du profil
Informations personnelles :
Nom : Patrick Barroca

Informations forums :
Inscription : mai 2008
Messages : 178
Points : 204
Points : 204
Hello,

Tu pourrais régler ça en CSS non ?
patbator est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 14/03/2011, 12h48   #3
Membre régulier
 
Homme Vincent Leboulanger
Développeur informatique
Inscription : janvier 2005
Messages : 315
Détails du profil
Informations personnelles :
Nom : Homme Vincent Leboulanger
Localisation : France

Informations professionnelles :
Activité : Développeur informatique
Secteur : High Tech - Multimédia et Internet

Informations forums :
Inscription : janvier 2005
Messages : 315
Points : 80
Points : 80
effectivement, j'ai réglé mon problème de cette façon.
merci.
vince29 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 18h27.


 
 
 
 
Partenaires

Hébergement Web