software-eng-ua-edu/clones

Left Panel not Resizing

Closed this issue · 1 comments

The left side of the main JSplitPane (housing the Files and Clone Classes tabs) resizes properly before the tabs are populated with clone results. After results are loaded, both tabs work correctly until one of the files or clone classes are double-clicked. Upon loading source in the right pane, the split pane will collapse and become unsizable.

Magically fixed itself? It seems that the length of the JLabel that displays the path of the displayed source file causes the JSplitPane to not resize properly. Now that we only show the file name and not the path, it seems to work properly. If somebody imported a source file with an extraordinarily long file name, it's likely that this will break again, but that's their fault.