Pages size not adjusted in TCustomNotebook with Multiline=True when changing caption of tabs
Original Reporter info from Mantis: cobines
-
Reporter name:
Original Reporter info from Mantis: cobines
- Reporter name:
Description:
When caption of a tab is changed and such change results in changing how many lines of tabs are visible then the pages sizes on each tab are not recalculated. For example changing a caption from a short one to a very long one and vice-versa.
Steps to reproduce:
- Run attached application. There is one line of tabs.
- Click "Rename tab 3" button. There is two lines of tabs but the second line is not visible. (screenshot_2.png)
- Maximize and Restore the window. Pages have now been resized.
- Click "Rename tab 3" button. There is one line of tabs but there is additional space between the tabs and pages contents. (screenshot_4.png)
Mantis conversion info:
- Mantis ID: 18955
- OS: Windows XP
- OS Build: SP3
- Build: 29892
- Platform: Win32
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 35199 (#2dad53e5)
- Target version: 0.99.0