Revision 45672 trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami/src/main/java/org/gvsig/andami/preferences/GenericDlgPreferences.java
GenericDlgPreferences.java | ||
---|---|---|
60 | 60 |
import org.gvsig.tools.extensionpoint.ExtensionPointManager; |
61 | 61 |
import org.gvsig.tools.identitymanagement.SimpleIdentityManager; |
62 | 62 |
import org.gvsig.tools.identitymanagement.UnauthorizedException; |
63 |
import org.gvsig.tools.swing.api.ToolsSwingUtils; |
|
63 | 64 |
import org.slf4j.Logger; |
64 | 65 |
import org.slf4j.LoggerFactory; |
65 | 66 |
|
... | ... | |
307 | 308 |
viewInfo = new WindowInfo(WindowInfo.MODALDIALOG | WindowInfo.RESIZABLE | WindowInfo.PALETTE); |
308 | 309 |
viewInfo.setTitle(PluginServices.getText(this, |
309 | 310 |
"Preferences")); |
310 |
viewInfo.setWidth(this.getWidth()+8); |
|
311 |
viewInfo.setHeight(this.getHeight()); |
|
311 |
// viewInfo.setWidth(this.getWidth()+8); |
|
312 |
// viewInfo.setHeight(this.getHeight()); |
|
313 |
Dimension dim = ToolsSwingUtils.ensureRowsCols(this, 27, 115); |
|
314 |
viewInfo.setWidth(dim.width); |
|
315 |
viewInfo.setHeight(dim.height); |
|
312 | 316 |
} |
313 | 317 |
return viewInfo; |
314 | 318 |
} |
Also available in: Unified diff