Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8720

Re: Hi,How to align text?

$
0
0

Hi kavitha,

 

The problem is solved like this:

 

var label1= new sap.m.Label({"width":"100%"});

 

                  label1.setText("Material Purchase Requisition");

 

                  label1.setTextAlign( sap.ui.core.TextAlign.Center);

 

 

label1.placeAt("content");

 

Screenshot_1.png

 

 

Regards..


Viewing all articles
Browse latest Browse all 8720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>