What I want to achieve is this.
This is the part I’m struggling with.
I want to display the “icon”, “name”, and “show profile button” of the person I’m talking to, side by side, in the center.
However, there are some problems here.
- The width of the text cannot be automatically adjusted according to the content.
- If it can be adjusted automatically, the number of characters per line cannot be specified.
- Even if it can be automatically adjusted, it is not possible to center the “icon”, “name”, and “button to display profile” together.
For those of you who will see this in the future
I’d like to leave the code for it here when it’s solved.
Please help me.