Very strange problem getting screens to "line up" correctly

I’m having a problem getting screens to line up/render the way they should. (And this was a problem in CUBA too.) One screen shot shows how it displays in the Designer, and how it SHOULD render… the other screenshot shows the actual render. I solved this sometimes in CUBA with blank labels used as spacers, and setting the expand property of the hBoxes to said spacer label. But that seems like a kludge, and I’d like to know how to actually fix it.

image

image

You can see the hBoxed components are way too spaced out. They should display as they did in the designer.

Hi,
Please share the sample project where the problem is reproduced.

@gorbunkov - this would be very difficult to do, as this is in a migrated CUBA application, and has a large number of of associations and enums; can you provide guidance on this without? It would be many hours to produce a working sample.

First, try to invoke the “Analyze layout” action - right click on the screen tab and select the proper menu item there.

изображение

Maybe it will show you some warnings that will make things clear.