Title collapse in TitledBorder
问题 I've a TitledBorder having title larger than the body. Its get cut down and the length sets as per the maximum length of the body. Suppose I have a label in the body saying TEST and its enclosed by TitledBorder having title TESTING TITLE . In this case the title is cut down and displayed as TESTI I'm using MigLayout for the body. Any way to the show the full title irrespective to the content it contains? 回答1: Border s don't directly participate in size evaluation by the LayoutManager (they