K
kevinc
Use HTML to render your label
Nosnos said:Hi,
I have a Jbutton with some dynamic text (that mean that i don't know how long will it), and i wish that in spite of being too long, there will not be some "..." appears. I want that the text be divided into several lines ....
See this ascii draw
I have ----------------
| |
|Hi this is ...|
| |
----------------
I want ----------------
|Hi this is |
|an example |
| |
kevinc said:Use HTML to render your label
I can't, because I don't know which string will fit my button .... (so do'ntkevinc said:Use HTML to render your label
Sorry you right, with HTML render, text are automatically wrapping withI can't, because I don't know which string will fit my button .... (so do'nt
know where to place my <br>)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.