ソースを参照

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 12年前
コミット
e4a7acd9b7
1個のファイルの変更1行の追加0行の削除
  1. 1
    0
      src/com/dmdirc/addons/ui_swing/PrefsComponentFactory.java

+ 1
- 0
src/com/dmdirc/addons/ui_swing/PrefsComponentFactory.java ファイルの表示

@@ -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} */

読み込み中…
キャンセル
保存