@ -164,7 +164,7 @@ public class PreviewTablePane extends BasicPane {
// 预览行数面板
northPane.add(initPreviewNumberPane(), BorderLayout.CENTER);
// 脱敏预览设置面板
northPane.add(initDesensitizationPane(), BorderLayout.EAST);
northPane.add(initDesensitizationPane(), BorderLayout.LINE_END);
return northPane;
}
@ -56,7 +56,7 @@ public class PreviewTableDesensitizationPane extends JPanel {
* 初始化面板
*/
private void initComponents() {
this.setLayout(new FlowLayout(FlowLayout.LEFT));
this.setLayout(new FlowLayout(FlowLayout.LEADING));
this.add(initDesensitizationLabel());
this.add(initToolBar());
this.add(initPreviewButton());