Announcement

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

    Textboxstyle() for textitem increase the font size defaultly

    smartgwt2.5.1
    firefoxv3.6

    I tried to make the mandatory textbox become red border color.using textboxstyle() i achieved that.after using this method i face another issue which is the textbox size become wider and font size is increased.Even i mention the font-size to small.but it's not getting that.

    TextItem issuerName = new TextItem("issuerName","IssuerName");
    issuerName.setWrapTitle(false);
    issuerName.setRequired(true);
    issuerName.setTitleAlign(Alignment.LEFT);
    issuerName.setWidth(200);
    issuerName.setTextBoxStyle("issuerborder");
    issuerName.setTitleStyle("issuername");
    issuerName.setShowFocused(false);

    CSS:
    .issuerborder{
    border-color:#FF9933;
    border-style: solid;
    border-width: 1px;
    font-size: small;
    }
    Attached Files
Working...
X