Explorar el Código

PrefsComponentFactory checkboxes now have transparent backgrounds.

Doing this fixes several UI inconsistancies where the background colour
of the checkbox is incorrect, transparency solves this issue without
needing to change the background colour sindividually.

Fixes CLIENT-310

Change-Id: Ia7da36ffdfadfc2744322203d123fc6805513504
Reviewed-on: http://gerrit.dmdirc.com/2177
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
tags/0.7rc1
Greg Holmes hace 12 años
padre
commit
e4a7acd9b7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/com/dmdirc/addons/ui_swing/PrefsComponentFactory.java

+ 1
- 0
src/com/dmdirc/addons/ui_swing/PrefsComponentFactory.java Ver fichero

@@ -167,6 +167,7 @@ public final class PrefsComponentFactory {
167 167
             final PreferencesSetting setting) {
168 168
         final JCheckBox option = new JCheckBox();
169 169
         option.setSelected(Boolean.parseBoolean(setting.getValue()));
170
+        option.setOpaque(false);
170 171
         option.addChangeListener(new ChangeListener() {
171 172
 
172 173
             /** {@inheritDoc} */

Loading…
Cancelar
Guardar