Fix background for uneditable text panes in Kotlin update (KT-29667)

#KT-29667 Fixed
This commit is contained in:
Nikolay Krasko
2019-05-18 23:33:15 +03:00
parent 00ed49df68
commit 314b29f223
2 changed files with 8 additions and 2 deletions
@@ -30,7 +30,9 @@
</grid>
<grid id="b171" layout-manager="FlowLayout" hgap="5" vgap="0" flow-align="0">
<constraints>
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="97" height="21"/>
</grid>
</constraints>
<properties/>
<border type="none"/>
@@ -105,7 +107,7 @@
</component>
</children>
</grid>
<grid id="e3af8" layout-manager="FlowLayout" hgap="5" vgap="0" flow-align="0">
<grid id="e3af8" binding="pluginVersionPanel" layout-manager="FlowLayout" hgap="5" vgap="0" flow-align="0">
<constraints>
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false">
<preferred-size width="335" height="24"/>
@@ -23,6 +23,7 @@ public class ConfigurePluginUpdatesForm {
public JButton installButton;
public JLabel installStatusLabel;
private JLabel verifierDisabledText;
private JPanel pluginVersionPanel;
private JTextPane currentVersion;
private JPanel bundledCompilerVersionPanel;
private JTextPane compilerVersion;
@@ -46,6 +47,9 @@ public class ConfigurePluginUpdatesForm {
} else {
bundledCompilerVersionPanel.setVisible(false);
}
currentVersion.setBackground(pluginVersionPanel.getBackground());
compilerVersion.setBackground(bundledCompilerVersionPanel.getBackground());
}
public void initChannels(List<String> channels) {