TPairSplitterSide does not publish Contraints property
Original Reporter info from Mantis: sierdolg
-
Reporter name:
Original Reporter info from Mantis: sierdolg
- Reporter name:
Description:
Setting constraints in code, e.g.
procedure TForm1.FormActivate(Sender: TObject);
begin
PairSplitterSide1.Constraints.MinWidth:=50;
PairSplitterSide2.Constraints.MinWidth:=50;
end;
works as expected, but constraints property does not appear in Object Inspector.
Steps to reproduce:
- Start a new application project.
- Place a PairSplitter on its empy Form, set it to "Align:alClient".
- Put one visual control (e.g. a Button) into each SplitterSide.
- Select any PairSplitterSideX in Object Inspector: there is no "Constraints" entry between "ChildSizing" and "Cursor".
Additional information:
This makes constraints unusable in a RAD tool's intended (visual) way.
However, they can be set in code as a workaround.
Mantis conversion info:
- Mantis ID: 25046
- OS: Windows
- OS Build: 7 (64 Bit)
- Build: 42478
- Platform: Intel
- Version: 1.0.12
- Fixed in revision: 42854 (#f4e56284)