logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject cvs commit: logging-log4j/src/java/org/apache/log4j/chainsaw LogPanel.java LogUI.java
Date Sun, 28 Mar 2004 19:26:22 GMT
sdeboy      2004/03/28 11:26:22

  Modified:    src/java/org/apache/log4j/chainsaw LogPanel.java LogUI.java
  Log:
  specify resize weights for split panes so that the event table is given the extra space
on window resize
  
  Revision  Changes    Path
  1.61      +1 -2      logging-log4j/src/java/org/apache/log4j/chainsaw/LogPanel.java
  
  Index: LogPanel.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/LogPanel.java,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- LogPanel.java	28 Mar 2004 10:04:30 -0000	1.60
  +++ LogPanel.java	28 Mar 2004 19:26:22 -0000	1.61
  @@ -928,7 +928,7 @@
       lowerPanel.setDividerLocation(lastDetailPanelSplitLocation);
       lowerPanel.setOneTouchExpandable(true);
       dividerSize = lowerPanel.getDividerSize() + 5;
  -    lowerPanel.setResizeWeight(0.5);
  +    lowerPanel.setResizeWeight(1.0);
       lowerPanel.setBorder(null);
       lowerPanel.setContinuousLayout(true);
   
  @@ -1056,7 +1056,6 @@
   
       add(nameTreeAndMainPanelSplit, BorderLayout.CENTER);
       nameTreeAndMainPanelSplit.setOneTouchExpandable(true);
  -
       logTreePanel.setVisible(isLogTreeVisible());
   
       /*
  
  
  
  1.80      +1 -1      logging-log4j/src/java/org/apache/log4j/chainsaw/LogUI.java
  
  Index: LogUI.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/LogUI.java,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- LogUI.java	28 Mar 2004 18:50:17 -0000	1.79
  +++ LogUI.java	28 Mar 2004 19:26:22 -0000	1.80
  @@ -619,7 +619,7 @@
       getContentPane().add(mainReceiverSplitPane, BorderLayout.CENTER);
   
       mainReceiverSplitPane.setOneTouchExpandable(true);
  -
  +    mainReceiverSplitPane.setResizeWeight(1.0);
       addWindowListener(
         new WindowAdapter() {
           public void windowClosing(WindowEvent event) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message