diff --git a/trunk/SIPRPSoft/src/siprp/higiene/gestao/riscos/GerirRiscosPanel.java b/trunk/SIPRPSoft/src/siprp/higiene/gestao/riscos/GerirRiscosPanel.java index 85334e30..5e9135d1 100644 --- a/trunk/SIPRPSoft/src/siprp/higiene/gestao/riscos/GerirRiscosPanel.java +++ b/trunk/SIPRPSoft/src/siprp/higiene/gestao/riscos/GerirRiscosPanel.java @@ -194,7 +194,8 @@ public class GerirRiscosPanel extends JPanel implements LeafUIConstants tema.save(); refresh(); } - } catch( Exception e ) + } + catch( Exception e ) { LeafDialog.error( e ); } @@ -407,7 +408,7 @@ public class GerirRiscosPanel extends JPanel implements LeafUIConstants private void startupComponents() { panelButtons.setPreferredSize( new Dimension( 150, 0 ) ); - panelTree.setPreferredSize( new Dimension( 400, 0 ) ); + panelTree.setPreferredSize( new Dimension( 600, 0 ) ); tree.setRootVisible( false ); tree.getSelectionModel().setSelectionMode( TreeSelectionModel.SINGLE_TREE_SELECTION ); } diff --git a/trunk/common/src/siprp/database/cayenne/objects/HsRiscoMedida.java b/trunk/common/src/siprp/database/cayenne/objects/HsRiscoMedida.java index 3255dbdf..92ea799c 100644 --- a/trunk/common/src/siprp/database/cayenne/objects/HsRiscoMedida.java +++ b/trunk/common/src/siprp/database/cayenne/objects/HsRiscoMedida.java @@ -9,6 +9,6 @@ public class HsRiscoMedida extends _HsRiscoMedida { public String toString() { String d = getToHsMedida() == null ? null : getToHsMedida().getRequesitosLegais(); - return d == null ? " " : d.substring( 0, Math.min( 40, d.length() ) ) + "..."; + return d == null ? " " : d.substring( 0, Math.min( 80, d.length() ) ) + "..."; } }