If it is not aligned when you drop the widget on the page and view it in App, try changing the styling to achieve what you’ve mentioned.
There are lot of factors that may interfere with the styling of a widget. Use the inspect option on the browser to see if the available styling in the application has an impact and then adjust with custom styling.
If you share the current structure of the page, the result and explain what the problem is then you could receive a more appropriate response.
You could add the following dynamic class to the text box:
if $currentObject/enum != Module.Enum.Custom then 'invisible' else ''
This'll make sure it’s always on the page reserving space for itself, just invisible until the enum value is the value where it should be visible.
Current stage: Please find the below screenshot. I am trying to add new textboxes for that particular column, but it is disturbing the complete alignment of the whole row.