Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Text fields with underline #474

Open
JohnGymer opened this issue May 1, 2019 · 1 comment
Open

Android Text fields with underline #474

JohnGymer opened this issue May 1, 2019 · 1 comment

Comments

@JohnGymer
Copy link

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?

@ifurnadjiev
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants