mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-87227 fix mnemonics
This commit is contained in:
@@ -208,6 +208,7 @@ public class CreateResourceFileDialog extends DialogWrapper {
|
||||
: "");
|
||||
myRootElementFieldWrapper.removeAll();
|
||||
myRootElementFieldWrapper.add(myRootElementField, BorderLayout.CENTER);
|
||||
myRootElementLabel.setLabelFor(myRootElementField);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -340,16 +340,18 @@ public abstract class DeviceConfiguratorPanel extends JPanel {
|
||||
final JPanel leftPanel = new JPanel(new BorderLayout(5, 5));
|
||||
myAvailableQualifiersList = new JBList();
|
||||
myAvailableQualifiersList.setMinimumSize(new Dimension(10, 10));
|
||||
leftPanel
|
||||
.add(new JBLabel(AndroidBundle.message("android.layout.preview.edit.configuration.available.qualifiers.label")), BorderLayout.NORTH);
|
||||
JBLabel label = new JBLabel(AndroidBundle.message("android.layout.preview.edit.configuration.available.qualifiers.label"));
|
||||
label.setLabelFor(myAvailableQualifiersList);
|
||||
leftPanel.add(label, BorderLayout.NORTH);
|
||||
leftPanel.add(new JBScrollPane(myAvailableQualifiersList, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
|
||||
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER), BorderLayout.CENTER);
|
||||
|
||||
final JPanel rightPabel = new JPanel(new BorderLayout(5, 5));
|
||||
myChosenQualifiersList = new JBList();
|
||||
myChosenQualifiersList.setMinimumSize(new Dimension(10, 10));
|
||||
rightPabel
|
||||
.add(new JBLabel(AndroidBundle.message("android.layout.preview.edit.configuration.choosen.qualifiers.label")), BorderLayout.NORTH);
|
||||
label = new JBLabel(AndroidBundle.message("android.layout.preview.edit.configuration.choosen.qualifiers.label"));
|
||||
label.setLabelFor(myChosenQualifiersList);
|
||||
rightPabel.add(label, BorderLayout.NORTH);
|
||||
rightPabel.add(new JBScrollPane(myChosenQualifiersList, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
|
||||
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER), BorderLayout.CENTER);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user