Reputation: 187
how can I set form label property to left currently by default it align to Right I check in console i.e. default css working
.sapMLabel {
text-align: end !important;
}
I want it to align to Left how to achieve same.
Upvotes: 1
Views: 13742
Reputation: 5713
there is a textAlign property of sap.m.Label.
<Label text="Sales order" textAlign="Right"/>
Upvotes: 4
Reputation: 33186
It depends on the html and the css for the surrounding tags.
But in most cases, this should do the trick:
.sapMLabel {
float: left;
}
Upvotes: 0