Bloc icon indicating copy to clipboard operation
Bloc copied to clipboard

Frame Constraints are different in vertical and horizontal

Open Nyan11 opened this issue 1 year ago • 1 comments

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

Nyan11 avatar Jan 24 '24 15:01 Nyan11

Can this be related by a recent PR, @Enzo-Demeulenaere ?

(https://github.com/pharo-graphics/Bloc/pull/381)

tinchodias avatar Jan 25 '24 03:01 tinchodias