1. #1
    Ext User
    Join Date
    Jul 2010
    Location
    Germany
    Posts
    11
    Vote Rating
    0
    KaiWeing is on a distinguished road

      0  

    Default Inconsistent font-family used in form fields

    Inconsistent font-family used in form fields


    Hello,

    When building a form, I recognize that some form fields get styled with a font-family by the gxt-all.css and some don't.
    I would expect the font-family to be consistent throughout a form (or even throughout the whole app).

    E.g.: A Radio-Control gets its font-family through its class x-form-cb-label, but a FormLabel does not get its font-family through its class x-form-label.
    Both Fields also don't inherit the class x-form-field from Field, which also sets the font-family and would IMHO be a good place to define a consistent font-family.

    I'm using gxt-2.1.1 (but according to the changelog, this has not been adressed yet).

    Best regards, Kai

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    x-form-cb-label has "font:12px tahoma,arial,helvetica,sans-serif;" set, same as the label on the formlayout, which gets the styling through "x-form-item": font:12px tahoma,arial,helvetica,sans-serif;

    Where do you see a difference exactly?

  3. #3
    Ext User
    Join Date
    Jul 2010
    Location
    Germany
    Posts
    11
    Vote Rating
    0
    KaiWeing is on a distinguished road

      0  

    Default


    I dont mean the label on the formlayout, but the FormLabel-Field (style class x-form-label).

    I use the FormLabel since I sometimes have to add additional form fields on one row. I do that with a MultiField and label the additional fields with FormLabels.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Please post a testcase that implements EntryPoint and shows what you mena.

    I dont know what FormLabel-Field is

  5. #5
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Do you mean LabelField?

  6. #6
    Ext User
    Join Date
    Jul 2010
    Location
    Germany
    Posts
    11
    Vote Rating
    0
    KaiWeing is on a distinguished road

      0  

    Default


    Yes, you are right. I mean LabelField. Sorry, for the confusion.

    Do you still need the test case? Its easier to see the applied style with firebug.

Similar Threads

  1. How to set font family and font size for a label?
    By aladdinwang in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 6 May 2013, 11:53 PM
  2. font family combobox
    By emredagli in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 16 Apr 2009, 6:09 AM
  3. ext.BasicDialog? font-size and font-family for title
    By anjumzulfiqar@yahoo.ca in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 26 Oct 2007, 12:58 PM

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar