git-svn-id: https://svn.coded.pt/svn/SIPRP@1049 bb69d46d-e84e-40c8-a05a-06db0d633741

lxbfYeaa
Tiago Simão 17 years ago
parent d781a53624
commit f19ba02615

@ -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 );
}

@ -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() ) ) + "...";
}
}

Loading…
Cancel
Save