From cff384487f7796d1f5ba35274cd0973bf06852d1 Mon Sep 17 00:00:00 2001 From: bada-egov Date: Thu, 10 Sep 2026 17:55:31 +0900 Subject: [PATCH] =?UTF-8?q?fix(dev.confmngt):=20Preferences=20=EB=A9=94?= =?UTF-8?q?=EB=89=B4=20Nexus=20=EC=84=A4=EC=A0=95=20Page=EC=9D=98=20Reposi?= =?UTF-8?q?tory=20=EC=A0=95=EB=B3=B4(TableViewr)=20=EC=98=81=EC=97=AD=20?= =?UTF-8?q?=EA=B0=80=EB=A1=9C/=EC=84=B8=EB=A1=9C=20=EC=B1=84=EC=9A=B0?= =?UTF-8?q?=EA=B8=B0=20=EC=84=A4=EC=A0=95=20=EB=B0=8F=20=EB=B6=88=ED=95=84?= =?UTF-8?q?=EC=9A=94=ED=95=9C=20=EC=BD=94=EB=93=9C=20=EC=A0=9C=EA=B1=B0=20?= =?UTF-8?q?-=20Repository=20=EC=A0=95=EB=B3=B4(TableViewr)=20=EC=98=81?= =?UTF-8?q?=EC=97=AD=EC=9D=84=20=EA=B0=80=EB=A1=9C/=EC=84=B8=EB=A1=9C=20?= =?UTF-8?q?=EC=B1=84=EC=9A=B0=EA=B8=B0=EB=A1=9C=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=ED=95=B4=EC=84=9C=20Preferences=20=ED=99=94=EB=A9=B4=20?= =?UTF-8?q?=ED=81=AC=EA=B8=B0=EB=A5=BC=20=EB=A7=88=EC=9A=B0=EC=8A=A4?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD=ED=95=98=EB=8D=94=EB=9D=BC?= =?UTF-8?q?=EB=8F=84=20=EC=B1=84=EC=9B=8C=EC=A7=80=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20-=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C?= =?UTF-8?q?=20GridData(gData)=20=EC=84=A4=EC=A0=95=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=EB=A5=BC=20=EC=A0=9C=EA=B1=B0=ED=95=98=EA=B3=A0=20..setLayoutD?= =?UTF-8?q?ata(new=20GridData(GridData.FILL=5FBOTH));=20=EB=A1=9C=20?= =?UTF-8?q?=EA=B0=84=EC=86=8C=ED=99=94=20-=20=EC=82=AC=EC=9A=A9=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=B3=80=EC=88=98=20=EC=84=A0?= =?UTF-8?q?=EC=96=B8=20=EC=A0=9C=EA=B1=B0=20-=20GridLayout=20layout=20=3D?= =?UTF-8?q?=20new=20GridLayout();=20-=20Repository=20=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?TableViewer=20=EC=9D=98=20Snapshots=20=EC=97=B4=20width?= =?UTF-8?q?=EB=A5=BC=20=EC=A1=B0=EC=A0=95=ED=95=B4=EC=84=9C=20Snapsh..=20?= =?UTF-8?q?=EB=A1=9C=20=EC=9E=98=EB=A0=A4=20=EB=B3=B4=EC=9D=B4=EB=8A=94=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../confmngt/preferences/NexusPreferencePage.java | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/egovframework.dev.imp.confmngt/src/egovframework/dev/imp/confmngt/preferences/NexusPreferencePage.java b/egovframework.dev.imp.confmngt/src/egovframework/dev/imp/confmngt/preferences/NexusPreferencePage.java index a54c1981..5b81eb0a 100644 --- a/egovframework.dev.imp.confmngt/src/egovframework/dev/imp/confmngt/preferences/NexusPreferencePage.java +++ b/egovframework.dev.imp.confmngt/src/egovframework/dev/imp/confmngt/preferences/NexusPreferencePage.java @@ -140,15 +140,10 @@ public boolean performOk() { @Override protected Control createContents(Composite composite) { noDefaultAndApplyButton(); - GridData gData = new GridData(GridData.FILL_BOTH); - gData.heightHint = 650; - gData.widthHint = 460; - GridLayout layout = new GridLayout(); Composite innerContainer = new Composite(composite, SWT.NONE); - GridLayout innerLayout = new GridLayout(); - innerLayout.numColumns = 2; - innerContainer.setLayout(innerLayout); + innerContainer.setLayout(new GridLayout(2, false)); + innerContainer.setLayoutData(new GridData(GridData.FILL_BOTH)); // Create table tableViewer = new TableViewer(innerContainer, @@ -156,12 +151,12 @@ protected Control createContents(Composite composite) { Table table = tableViewer.getTable(); table.setHeaderVisible(true); table.setLinesVisible(true); - tableViewer.getControl().setLayoutData(gData); + tableViewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH)); String[] columnNames = new String[] { ConfMngtMessages.nexusPreferencePageID, ConfMngtMessages.nexusPreferencePageURL, ConfMngtMessages.nexusPreferencePageRELEASE, ConfMngtMessages.nexusPreferencePageSNAPSHOTS }; - int[] columnWidth = new int[] { 70, 250, 73, 75 }; + int[] columnWidth = new int[] { 70, 250, 73, 90 }; int[] columnAlignments = new int[] { SWT.LEFT, SWT.LEFT, SWT.CENTER, SWT.CENTER }; for (int i = 0; i < columnNames.length; i++) { @@ -176,7 +171,7 @@ protected Control createContents(Composite composite) { Composite buttons = new Composite(innerContainer, SWT.NONE); buttons.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING)); - layout = new GridLayout(); + GridLayout layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; buttons.setLayout(layout);