cocoa TTabControl displays incorrectly
Original Reporter info from Mantis: gstecher
-
Reporter name: glen stecher
Original Reporter info from Mantis: gstecher
- Reporter name: glen stecher
Description:
On macOS using the cocoa widgetset, the TTabControl component displays with a lot of empty space around its bottom and right borders and seems to be truncated slightly on its left border
Steps to reproduce:
Place a TTabControl on a form and set its Align property to alClient
Place a TDrawGrid on the TTabControl and set its Align property to alClient
Set Target OS to Darwin
Set Target CPU Family to x86_64
Set LCL widgetset to cocoa
Compile and run the application
It is also helpful to change the TTabControl.TabPosition property to see how the display changes (see attached demo application which can do this)
Additional information:
Attached is a simple application for reproducing the issue. One can run the application and change the TTabControl.TabPosition property by clicking the buttons in the top toolbar to see how the display changes as the TabPosition is changed. Also attached are screenshots of the display.
I am using Lazarus 2.0RC1 r59274M on a mac mini with macOS High Sierra 10.13.6
Mantis conversion info:
- Mantis ID: 34440
- OS: macOS High Sierra
- OS Build: 10.13.6
- Build: r59274M
- Platform: mac
- Version: 2.0RC1
- Monitored by: » gstecher (glen stecher)