Community
Participate
Working Groups
I have a Wizard and on part of the page I have the following. Text text = new Text(panel1, SWT.MULTI | SWT.WRAP | SWT.READ_ONLY); text.setText("Hello Worlds"); On windows the black text appears on a grey background which is the same as the rest of the background of the wizard. On Linux it appears as black text on a white backgroung which makes the wizard page look quite odd. I though that the code should work in an identical way on both platforms - is there a fix or a workround for this???? Thanks Kim.
Created attachment 14978 [details] C snippet that shows native READ_ONLY Text appearance This is the correct gtk native behaviour, as the attached C snippet shows. Is this a case where you're using one of these instead of a label so that screen readers will read out your text?
GG is investigating it.
Yes I am using the read only text box to ensure the text is read by the screen reader so my product is accessible.
We should probably have some way of creating GTK+'s selectable labels, which are the native widget intended to solve this problem. *** This bug has been marked as a duplicate of 71765 ***