Implemented automatic resizing of panels when port entries are wider than the current panel width.