Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Textboxstyle() for textitem increase the font size defaultly

$
0
0
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 Images
File Type: jpg text.jpg (18.3 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles