facebook

Spinner Font Size

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #346644 Reply

    Code_A
    Member

    I would like to change the font size of the text within the combobox spinner. I imagine this can be done through css but I am not exactly sure how to accomplish through code.

    #346655 Reply

    Uplink1001
    Member

    Not sure if this is what you wan’t??
    But to change the font size and colour.
    see image.

    Uplink1001

    Attachments:
    You must be logged in to view attached files.
    #346657 Reply

    Code_A
    Member

    Thank you for the reply, but I am actually looking to change the font size of the text in the spinner that pops up when you click on the combobox.

    #346661 Reply

    Uplink1001
    Member

    HI.
    Thats what this does, it changes the text in the combobox and in the spinner.
    or are you wanting to just change the size in the spinner and not the combobox?

    Uplink1001

    #346663 Reply

    Code_A
    Member

    When I changed the font on the combobox it only applied to the text in the combobox and not the spinner. Some of the items get cutoff in the spinner because they are too long.

    But to answer your question, yes I would like to change them separately from one another if possible.

    #346665 Reply

    Uplink1001
    Member

    HI.
    I take back what i said, your right, it only changes the text font in the actual combobox and not the spinner.
    sorry about that, jumped the gun i reckon.
    it may be that you need to change something in the .css file?
    i’m new to this myself, so i would not like to comment as to how it may be acutally changed, but i would like to know.
    hopefully someone will look at your post and give you the correct answer…..

    sorry again.
    Uplink1001

    #346679 Reply

    Code_A
    Member

    Figured it out. Had to edit the spinningwheel.css file in the res folder.

    #sw-slots li {
        padding:0 8px;
        height:44px;
        overflow:hidden;
        font:bold 20px/40px Helvetica,sans-serif; <-- THIS LINE
    }
    #346965 Reply

    Code_A
    Member

    Is there a way to accomplish this (see above CSS code) through JavaScript without editing the CSS file? I would rather modify the CSS files if it’s not necessary.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Spinner Font Size

You must be logged in to post in the forum log in