MappView dynamic Dialog size

Hello

For each station on our maschine, I want to have a dialog to jog the axis of these station.

The dialog consists only one area and I would load different content in this area depending on the actual active station on the vizualisation if the dialog is opened.

The problem now is, that each station has a different amount of buttons for this jog dialog which leads in a different required space (size of conent).

Would it be possible to load different content with different size on the same dialog? hopefully I don’t have the need to make one dialog for each jog content.

Can the dialog somehow adjust its size to the loaded content?

thanks

Hello,

If you configure areas for a dialog, you can specify the zoomMode.

I haven’t tried it, but if I understand the description correctly, and all jog contents will have the same aspect ratio by configuring the zoomMode to cover, it should work as you want.

Hi Pavel,

Thanks for this input. But I would like to have it the other way around.

Not that the content is adjusted to the size of the dialog, instead the dialog should adjust itself to the size of the loaded content.

1 Like

Searching through the Community topics, I don’t believe it’s currently possible.

But there are definitely more experienced mapp View users in the Community who could help you with some ideas if I’m wrong.

Hello Stefan,

I don’t think it’s possible to change the size of a dialog.

In this case, I worked with transparency.

This means the dialog is always the same size, while the size of the transparent part varies.

In concrete terms, this can be implemented, for example, with rectangles that are made visible or invisible under certain conditions. Or with different styles (e.g., a transparent style).

It’s not a particularly nice solution, but unfortunately, I can’t think of anything else. Maybe that’s the way to go.

Sincerly Simon :slight_smile:

1 Like