You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following sample demonstrates that if you have an entity in a slide (or a slide layout) which has Alignment::Vertical_CENTER, then it will only be aligned center if the object does not also have a PlaceHolder. Horizontal alignment is however respected in both cases.
Note my testing was done here against the develop branch. The master branch seemed to have a lot more bugs in this area; so great to see/benefit from progress here.
By amending AbstractSlide.php to remove the if (!$shape->isPlaceholder()) { command in writeShapeText, this seems to work. It feels like it is on the same lines as what @devX2712 was trying to do on the 13th December 2023 with other commits in the same file. I'm hoping his expert advice here might conclude that these type of changes should be expanded further.
The following sample demonstrates that if you have an entity in a slide (or a slide layout) which has Alignment::Vertical_CENTER, then it will only be aligned center if the object does not also have a PlaceHolder. Horizontal alignment is however respected in both cases.
The text was updated successfully, but these errors were encountered: