Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    CSS vertical-alignment

    Hi,

    is "vertical-alignment" a correct CSS property? Shouldn't it be "vertical-align"?

    See this code:
    Code:
    IconButton b = new IconButton();
    b.setTitle("This is the title");
    b.setIcon("[SKINIMG]/actions/approve.png");
    The css generated for it is
    Code:
    <span style="vertical-alignment:middle">This is the title</span>
    (see screenshot)

    changing it on the fly to
    Code:
    <span style="vertical-align:middle">This is the title</span>
    is a subtle change, but enough to make the title align just a little bit better to the icon.

    tested with
    SC_SNAPSHOT-2012-02-28_v8.3d/Pro Deployment (built 2012-02-28)
    Attached Files

    #2
    Good spot, we've fixed it in 3.1d and it will appear in nightlies by Monday.

    Comment

    Working...
    X