Mercurial > hg > release > thermostat-0.5
changeset 648:418bf277263f
Make thread tab resizable
Make the threads tab resizable. Nested components will scale to avoid
glitches where only half a component is visible.
Reviewed-by: jerboaa
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-September/003430.html
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Thu, 27 Sep 2012 13:02:18 -0400 |
parents | 9088495a62bc |
children | 424a8a822bff |
files | thread/client-swing/src/main/java/com/redhat/thermostat/thread/client/swing/impl/ThreadMainPanel.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/thread/client-swing/src/main/java/com/redhat/thermostat/thread/client/swing/impl/ThreadMainPanel.java Thu Sep 27 15:50:57 2012 +0200 +++ b/thread/client-swing/src/main/java/com/redhat/thermostat/thread/client/swing/impl/ThreadMainPanel.java Thu Sep 27 13:02:18 2012 -0400 @@ -80,14 +80,14 @@ gl_content.createParallelGroup(Alignment.TRAILING) .addGroup(Alignment.LEADING, gl_content.createSequentialGroup() .addContainerGap() - .addComponent(splitPane, GroupLayout.DEFAULT_SIZE, 426, Short.MAX_VALUE) + .addComponent(splitPane, 0, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap()) ); gl_content.setVerticalGroup( gl_content.createParallelGroup(Alignment.TRAILING) .addGroup(Alignment.LEADING, gl_content.createSequentialGroup() .addContainerGap() - .addComponent(splitPane, GroupLayout.DEFAULT_SIZE, 240, Short.MAX_VALUE) + .addComponent(splitPane, 0, 240, Short.MAX_VALUE) .addContainerGap()) );