Vertical text-alignment in ComboBox

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

  1. #1

    Default Vertical text-alignment in ComboBox

    Hai there,

    I'm trying to adjust the text alignment/placement of the text
    displayed in a combobox, the box height is 18 px but the text inside
    has a topmargin around 6, and I want to change this to 2 or something.
    But there is no top-margin style tag for this control. Can anyone tell
    me how to solve this layout issue?

    Many thanks,

    Grtzz Claire
    Claire Guest

  2. Similar Questions and Discussions

    1. Vertical text alignment in menu spry
      I tried to search this topic with no success. I have created a horizontal spry menu bar. I cannot get the text to align vertically. Everything...
    2. Vertical Alignment on Rollovers Using CSS
      Greetings -- I want to use CSS to create a text and image rollover for my navigation. The image rolls over just fine but my text insists on a...
    3. Vertical alignment in table cells
      If I create a table and then merge several cells vertically, I can enter some text and can set the vertical alignment of the new 'spanned' cell to...
    4. Text box vertical alignment... is it possible?
      Well the title said it all... except this: if it is, how?!?
    5. Data Browser vertical alignment problem
      We want to use the features of the data browser in an update to our existing C++ project, but I'm stuck on doing vertical alignment. Alignment...
  3. #2

    Default Vertical text-alignment in ComboBox

    Hai there,

    I'm trying to adjust the text alignment/placement of the text
    displayed in a combobox, the box height is 18 px but the text inside
    has a topmargin around 6, and I want to change this to 2 or something.
    But there is no top-margin style tag for this control. Can anyone tell
    me how to solve this layout issue?

    Many thanks,

    grtz Claire


    Cosmic_Girl Guest

  4. #3

    Default Re: Vertical text-alignment in ComboBox

    put some value to the paddingtop propert to the comboBox.

    ex: <mx:ComboBox x="23" y="34" paddingTop="6">
    J_hari 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