Hi,
is "vertical-alignment" a correct CSS property? Shouldn't it be "vertical-align"?
See this code:
The css generated for it is
(see screenshot)
changing it on the fly to
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)
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");
Code:
<span style="vertical-alignment:middle">This is the title</span>
changing it on the fly to
Code:
<span style="vertical-align:middle">This is the title</span>
tested with
SC_SNAPSHOT-2012-02-28_v8.3d/Pro Deployment (built 2012-02-28)
Comment