TTabControl TabWidth and TabHeigh work wrong
Original Reporter info from Mantis: jamie @jamie
-
Reporter name: jamie philbrook
Original Reporter info from Mantis: jamie @jamie
- Reporter name: jamie philbrook
Description:
This seems to be an old problem..
TabWidth is ignored with tpTop but used as height
if tpLeft.
Incorrect operation.
Works correctly with Delphi.
Steps to reproduce:
Drop a TTabControl on form, with TabPosition as tpTop.
Make a couple of tabs of what ever..
Try to set the TabWidth to any value, it gets ignored.
Now set TabPosition as tsleft, now Tabs are vertical and now
the TapWidth becomes Tab height and The actual TabHeight does nothing.
I've look at the Setbounds code, it's incorrect operation as far as I am concerned.
Mantis conversion info:
- Mantis ID: 29824
- OS: Windows
- OS Build: 7
- Build: both 32/64 versions
- Platform: intel
- Version: 1.4.2
- Fixed in version: 1.7 (SVN)
- Fixed in revision: 54002 (#6a9b9d4d)
- Target version: 1.8