1. #1
    Ext User
    Join Date
    Apr 2010
    Location
    Grenoble 38000, France
    Posts
    25
    Vote Rating
    0
    ghatfan99 is on a distinguished road

      0  

    Default row LayoutContainer

    row LayoutContainer


    hello every one,
    i have a contentPanel, and in it i want to put fields, at the seconde line i want to put two fields and for that i used LayoutContainer (RowLayout), but the result is not good(see the photo), here is my code:
    Code:
    ContentPanel leftPanel = 
    
    new ContentPanel(new FormLayout());
    leftPanel.setFrame(false); leftPanel.setHeaderVisible(false); leftPanel.setBodyStyle("padding: 10px;"); leftPanel.setStyleAttribute("marginRight", "10px"); //leftPanel.setHeading("demande"); //leftPanel.setBorders(true); FormLayout layoutvv =
    new FormLayout();
    layoutvv.setLabelWidth(75); leftPanel.setLayout(layoutvv);
    DateField dateDemande = new DateField(); dateDemande.setFieldLabel("Date"); dateDemande.setEmptyText("jj/mm/aaaa"); dateDemande.getPropertyEditor().setFormat( DateTimeFormat.getFormat("dd/MM/yyyy")); leftPanel.add(dateDemande, formData);
    TextFieldMask periodeDemande1 = new TextFieldMask("99:99"); periodeDemande1.setFieldLabel("Periode"); periodeDemande1.setEmptyText("hh:mm"); // leftPanel.add(periodeDemande, formData); TextFieldMask TextFieldMask periodeDemande2 =
    new TextFieldMask("99:99");
    periodeDemande2.setEmptyText("hh:mm");
    LayoutContainer row = new LayoutContainer(new RowLayout( Orientation.HORIZONTAL)); row.setStyleAttribute("padding", "3px"); row.setSize(120, 25); row.addText("Periode: "); row.add(periodeDemande1, new RowData(54, 1)); row.addText("-"); row.add(periodeDemande2, new RowData(55, 1)); leftPanel.layout(true); leftPanel.add(row, formData);
    TextField<String> dureeDemande = new TextField<String>(); dureeDemande.setFieldLabel("Durée"); leftPanel.add(dureeDemande, formData);
    TextField<String> agentDemande = new TextField<String>(); agentDemande.setFieldLabel("Agent"); leftPanel.add(agentDemande, formData);
    TextField<String> notesDemande = new TextField<String>(); notesDemande.setFieldLabel("Notes"); leftPanel.add(notesDemande, formData);
    TextField<String> status = new TextField<String>(); status.setFieldLabel("Status");
    leftPanel.add(status, formData);

    i want that my fields have the same size in font and in size.
    thank's
    Attached Images

  2. #2
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Hi.

    Try using the MultiField class.

    Regards
    Michel.

  3. #3
    Ext User
    Join Date
    Apr 2010
    Location
    Grenoble 38000, France
    Posts
    25
    Vote Rating
    0
    ghatfan99 is on a distinguished road

      0  

    Default thank's

    thank's


    thanks for your answer it works perfectly.

    regards

Similar Threads

  1. Refresh in a LayoutContainer
    By G.edwin in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 4 Feb 2010, 6:52 AM
  2. LayoutContainer.setVisible
    By DrogoNevets in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 3 Dec 2009, 5:52 AM
  3. LayoutContainer vs FormPanel
    By cpopp in forum Ext GWT: Discussion
    Replies: 4
    Last Post: 19 Aug 2009, 5:40 AM
  4. OnClick LayoutContainer
    By FireGlow in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 6 Jul 2009, 11:49 AM
  5. Listener on LayoutContainer
    By rian.k in forum Ext GWT: Discussion
    Replies: 3
    Last Post: 4 May 2009, 7:33 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi