待辦事項 #19447

Devider on JSplitPane is too thin

啟用日期: 2009-11-04 06:08 最後更新: 2010-03-06 00:00

回報者:
負責人:
類型:
狀態:
關閉
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
2

細節

After initiating JSplitPane, using following code:

        //Create a split pane for the first side and second side of the card
        splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, scrollPaneFirstSide, scrollPaneSecondSide);
        splitPane.setOneTouchExpandable(true);
        splitPane.setDividerLocation(JSplitPane.CENTER_ALIGNMENT);

Devider looks OK.

After changing the direction Vertical <-> Horizontal with folling command:

	    	splitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT);
//	    	splitPane.setOneTouchExpandable(true);
	    	splitPane.setDividerLocation(JSplitPane.CENTER_ALIGNMENT);

, the devider split is too thin and cannot be moved any longer.

Ticket History (3/6 Histories)

2009-11-04 06:08 Updated by: hub02371
  • New Ticket "Devider on JSplitPane is too thin" created
2009-11-04 09:10 Updated by: freebeans
  • 里程碑 Update from jvm0.4.7 to (無)
  • 處理結果 Update from to Accepted
2009-12-27 22:56 Updated by: freebeans
  • 里程碑 Update from (無) to jvm0.4.8
  • 處理結果 Update from Accepted to 修正
評語

Fixed. Now BasicSplitPaneUI.layoutContainer() sets divider size correctly.

2010-03-06 00:00 Updated by: freebeans
  • 狀態 Update from 開啟 to 關閉
  • Ticket Close date is changed to 2010-03-06 00:00

Attachment File List

編輯

Please login to add comment to this ticket » 登入