Cocoa: TColorDialog displays Opacity field
Original Reporter info from Mantis: circular
-
Reporter name:
Original Reporter info from Mantis: circular
- Reporter name:
Description:
The TColorDialog does not have an Opacity / Alpha channel property for the color. Yet it is displayed on Cocoa.
The code is in TCocoaWSColorDialog.ShowModal procedure in cocoawsdialogs.pas unit.
To fix it, I suppose one just needs to change the following line:
colorPanel.setShowsAlpha(True);
into this
colorPanel.setShowsAlpha(false);
Steps to reproduce:
Put a ColorDialog on an empty form and a button that will call ColorDialog1.Execute.
Mantis conversion info:
- Mantis ID: 38052
- Version: 2.0.10
- Fixed in revision: 64116 (#e7263b25)