Bloc
Bloc copied to clipboard
Frame Constraints are different in vertical and horizontal
Hello,
I was working with Frame layout and i discover that constraints are not the same in horizontal and vertical.
BlFrameLayoutConstraintsVertical >> #alignTopAt: -> create an object with the class = BlVerticalCoordinateTopAlignment BlFrameLayoutConstraintsVertical >> #alignCenterAt: -> create an object with the class = BlVerticalCoordinateTopAlignment BlFrameLayoutConstraintsVertical >> #alignBottomAt: -> create an object with the class = BlVerticalCoordinateBottomAlignment
BlFrameLayoutConstraintsHorizontal >> #alignLeftAt: -> create an object with the class = BlHorizontalCoordinateLeftAlignment BlFrameLayoutConstraintsHorizontal >> #alignCenterAt: -> create an object with the class = BlHorizontalCoordinateStartAlignment BlFrameLayoutConstraintsHorizontal >> #alignRightAt: -> create an object with the class = BlHorizontalCoordinateRightAlignment
We can see in the list above that BlFrameLayoutConstraintsHorizontal have 3 differents classes for alignement and BlFrameLayoutConstraintsVertical only has 2.
Is this normal ? Personnaly i think that vertical and horizontal constraint should have the "same" classes
Can this be related by a recent PR, @Enzo-Demeulenaere ?
(https://github.com/pharo-graphics/Bloc/pull/381)