BBCode allignment does not work

I have put this in the bug report section before because I thought it is a bug in Gdevelop but got no responses whatsover. Maybe I am doing something wrong. We are trying to make a game with diconary entries (https://semaggames.nl/Verbaal/)and would like them to be configured using BBCode but the following does not work:

When using the code : * [align=center]text that is centered (you can also use left and right)[/align] as described here : BBText - GDevelop documentation it does not work. The base alignment of the object seems to overule it.

I would like to have left alligned and centered text in the box as in the old Buletin board way. But the alignments do not happen. DOes anyone else have the same problem?

Any help is greatly appreciated.

AmonRay

1 Like

Can you screen shot the issue since it’s a visual thing?


All the text just follows the Base alignment. and according to the documentation it should align differently.

Raise it as a bug and include a small sample project. Here’s a link on how to report a bug.

1 Like

yup, BBCode alignment has never worked for years. i just never decided to say anything about it

1 Like

I thought it was just me that wasn’t working… It turns out that everyone has it.
The GDevelop team - it’s time to fix it!:bangbang:

P. S. And not only that!

1 Like

I have reported it to the forum which is the prefered way according to the documentation but got no reaction. I believe that an option should be made where in the base alignment is turned off. I suspect that it is the reason the alignment code does not work and is overwritten somehow. But it goes a little to deep for me to figure it out unfortunatly. I do not understand why there is a base alignment. I understand you can not go back because you want to be backwards compatible in the future. It would be very nice if someone could pick this up and repair it. Because it would make the layout of texts much nicer.

Probably because it’s submitted under “How do I…?”, instead of “GDevelop general - Bug reports”. I’ve updated the category.

It was submitted already there as you can read in my initial post.

My brother has looked into it and came to the following fix : * [image]Allow inline horizontal alignment of BBText by vanscheijen · Pull Request #8390 · 4ian/GDevelop · GitHub This solves the problem for the BBText alignment. We hope it will be possible to be included in one of the updates.

1 Like