* layout fixes
This commit is contained in:
parent
80e76ed541
commit
9b32de1e09
|
@ -64,7 +64,7 @@ class ExtractTool extends Tool<TableModel> {
|
||||||
tableScrollPane.setBorder(new SeparatorBorder(2, new Color(0, 0, 0, 90), GradientStyle.TOP_TO_BOTTOM, SeparatorBorder.Position.BOTTOM));
|
tableScrollPane.setBorder(new SeparatorBorder(2, new Color(0, 0, 0, 90), GradientStyle.TOP_TO_BOTTOM, SeparatorBorder.Position.BOTTOM));
|
||||||
|
|
||||||
setLayout(new MigLayout("insets 0, nogrid, fill", "align center", "[fill][pref!]"));
|
setLayout(new MigLayout("insets 0, nogrid, fill", "align center", "[fill][pref!]"));
|
||||||
add(new LoadingOverlayPane(tableScrollPane, this, "20px", "30px"), "grow, wrap");
|
add(new LoadingOverlayPane(tableScrollPane, this, "25px", "30px"), "grow, wrap");
|
||||||
add(new JButton(extractAction), "gap top rel, gap bottom unrel");
|
add(new JButton(extractAction), "gap top rel, gap bottom unrel");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -293,7 +293,7 @@ public class RenamePanel extends JComponent {
|
||||||
});
|
});
|
||||||
|
|
||||||
setLayout(new MigLayout("fill, insets dialog, gapx 10px", "[fill][align center, pref!][fill]", "align 33%"));
|
setLayout(new MigLayout("fill, insets dialog, gapx 10px", "[fill][align center, pref!][fill]", "align 33%"));
|
||||||
add(new LoadingOverlayPane(filesList, filesList, "32px", "30px"), "grow, sizegroupx list");
|
add(new LoadingOverlayPane(filesList, filesList, "37px", "30px"), "grow, sizegroupx list");
|
||||||
|
|
||||||
BackgroundFileTransferablePolicy<?> transferablePolicy = (BackgroundFileTransferablePolicy<?>) filesList.getTransferablePolicy();
|
BackgroundFileTransferablePolicy<?> transferablePolicy = (BackgroundFileTransferablePolicy<?>) filesList.getTransferablePolicy();
|
||||||
transferablePolicy.addPropertyChangeListener(new PropertyChangeListener() {
|
transferablePolicy.addPropertyChangeListener(new PropertyChangeListener() {
|
||||||
|
@ -314,7 +314,7 @@ public class RenamePanel extends JComponent {
|
||||||
add(matchButton, "split 2, flowy, sizegroupx button");
|
add(matchButton, "split 2, flowy, sizegroupx button");
|
||||||
add(renameButton, "gapy 30px, sizegroupx button");
|
add(renameButton, "gapy 30px, sizegroupx button");
|
||||||
|
|
||||||
add(new LoadingOverlayPane(namesList, namesList, "32px", "30px"), "grow, sizegroupx list");
|
add(new LoadingOverlayPane(namesList, namesList, "37px", "30px"), "grow, sizegroupx list");
|
||||||
|
|
||||||
// manual force name via F2
|
// manual force name via F2
|
||||||
installAction(namesList.getListComponent(), getKeyStroke(VK_F2, 0), new AbstractAction("Force Name") {
|
installAction(namesList.getListComponent(), getKeyStroke(VK_F2, 0), new AbstractAction("Force Name") {
|
||||||
|
|
Loading…
Reference in New Issue