04-19-2012 11:36 AM - edited 04-19-2012 11:37 AM
I find that if I set a rounded border on a RichTextField:
setBorder(BorderFactory.createRoundedBorder(new XYEdges(10,10,10,10), Border.STYLE_SOLID));
The rounding causes a padding area which is always in the background colour of my manager, not in the background colour of my field. I have tried setting padding to 0 on all axis but this has no effect. I can't fill it in the paint method because this area is outside the drawable area.
I know it must be possible because if I look at the SMS screen on my 9900 this has a border and has no such issue. So either I am missing something or this is another limitaiton in the API.
Have I missed something?
04-19-2012 11:39 AM
04-19-2012 11:45 AM
Thanks simon_hain,
Yes I have considered going this route but wondered if there was API functionality to make it easier for me.