开发者

SWT Text Box,SWT Text Box Border color

How to set the Border color of Text Box using 开发者_StackOverflow社区SWT API?


You can't do that, as far as I know. You can, however, set no border on the text field, create a new Composite where your text field is now, give it a background color and a fill layout with a 1 px margin, and then put your text field inside it. This gives the effect of a border of whatever color you like.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜