[PATCH] Fix: TListBox.ScrollWidth not implemented on Mac / Carbon
Original Reporter info from Mantis: s.kopf
-
Reporter name: Stefan Kopf
Original Reporter info from Mantis: s.kopf
- Reporter name: Stefan Kopf
Description:
The TCustomListBox.ScrollWidth property is implemented in the Win32 Widgetset, but not yet in the Carbon Widgetset.
This patch adds this functionality to TCarbonListBox.
Steps to reproduce:
On OS-X / Carbon:
- Add a ListBox to a form
- Add some lines to the listbox that extend the width of the listbox
- set ListBox.ScrollWidth to a value larger than the ListBox.Width
Expected:
A horizontal scrollbar appears like on Windows
However:
The value ListBox.ScrollWidth is reset to 0