Font Size in a label in Canvas in an Accordian

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Font Size in a label in Canvas in an Accordian

    I generated an Accordion using FLEX Builder 3 and it went very well. The
    default container appears to be a Canvas with the Canvas Label as the text on
    the Accordion bar. Again, no problems.

    The font, however, is small and I can't seem to get it any bigger. I tried
    adding a fontSize on the mx:Canvas line generated by FLEX Builder ... however,
    it is pretty much ignored.

    Thanks,

    Bob

    rrm-etal Guest

  2. Similar Questions and Discussions

    1. How do I make canvas size smaller?
      I am sending a business card to a printer, and he would like me to change the canvas size to the exact dimensions of the business card. It seems that...
    2. Default Canvas Size for New File
      Does anyone know how to set the default canvas size so that when I click on a new document, it always comes up to the same size. It seems to...
    3. Large Canvas Size
      Hi, I need to create a 6000mm (6m) x 841mm poster. Illustrator only allows the canvas to go to 5779mm. Is there anyway to extend the canvas? ...
    4. Changing the font and size for a button label
      How do I change the font and size for a button label, textboxes etc. It seems easy to do in MS FrontPage but I'm have problems doing that in...
    5. Web Design - Canvas Size
      Hi, Looking to create my first real design FWMX then slice for web, what size canvas do you use: 640 x 480 800 x 600 1024 x 768 Got my...
  3. #2

    Default Re: Font Size in a label in Canvas in an Accordian

    Hi,
    You have to set the font size of the accordion header. Please try code below.
    Hope this helps.

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
    width="100%" height="100%">
    <mx:Style>
    .accheader
    {
    font-size: 24;
    }
    </mx:Style>
    <mx:Accordion x="287" y="126" width="200" height="200" fontSize="26"
    headerStyleName="accheader">
    <mx:Canvas label="Accordion Pane 1" width="100%" height="100%">
    </mx:Canvas>
    <mx:Canvas label="First" width="100%" height="100%">
    </mx:Canvas>
    </mx:Accordion>

    </mx:Application>

    SujitG Guest

  4. #3

    Default Re: Font Size in a label in Canvas in an Accordian

    I am having that same problem. I have tried fontSize in the Accordion, and it doesn't work. fontColor works though.
    WebmastaDj Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139