naxbell.blogg.se

Override css style forum
Override css style forum





override css style forum

CSS styling would in this case also stop decorators from working. There is probably no possibility in SWT to set the "default" values for each widget, hence styling has to be applied to the current values.

override css style forum

The changed background color is visible until focus or similar changes, and the style engine overrides my values.įrom the inspection of the code, there is no possibility to stop the style engine at one place in the widget hierarchy. I tried to change the background color in a delayed function (timeExec.) and the background color changes. My guess is that right after the creation and visualization of the part, the style engine is applied and overrides those values.

override css style forum

If I now create my widgets in a function and set the background color according to values (red= outside bounds) then those changes are not visible. I can per default set the background of all Text widgets to white:







Override css style forum