Re: Center Text in EditText

new topic     » goto parent     » topic index » view thread      » older message » newer message
dcole said...

Hello All,

What's the best way to center text in an EditText?

Don Cole

Create the control using the ES_CENTER flag.

create(EditText, "Sample Text", TheWin,  x, t, w, h, ES_CENTER) 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu