How to align icon and text side by side similar to Digital Dashboard

I can explain it a bit more.

You can see in the below image, when choosing the complication on the Digital Dashboard, we have a good separation inside blue color
Screenshot_20230701_183747_digitalmodular
But when choosing the complication I made, its different.
Screenshot_1688221302

This is the settings I am using in the Line Complication.

This is the title settings

This is the text settings

This is the icon settings

What I am trying to get is an effect when switching between complications, I want the content inside the complication, that is the icon, title and text to be aligned dynamically as possible in the Digital Dashboard. But I my design is static, I can change the complication type, but alignment is always static.