tabris icon indicating copy to clipboard operation
tabris copied to clipboard

Android Text fields with underline

Open JohnGymer opened this issue 6 years ago • 1 comments

An enterable field (Text control) on Android normally has a line underneath to show that it is editable. Previously this line appeared if you included SWT.BORDER in the style of the Text widget.

Now it makes no difference if SWT.BORDER is specified or not - you ALWAYS get the underline. This is no good for read-only fields as they take up much more vertical space than they need to due to the underline being visible.

Is it possible to have a read-only Text control WITHOUT the underline?

JohnGymer avatar May 01 '19 13:05 JohnGymer

I believe that you could set the background to a transparent color (Color with RGBA) which would hide the underline.

ifurnadjiev avatar May 02 '19 08:05 ifurnadjiev