Hi,
Let’s suppose I intensionally changed field of view in slice node:
sliceNode = layoutManager = slicer.app.layoutManager().sliceWidget('Red').sliceView().mrmlSliceNode()
sliceNode.SetFieldOfView(100, 300, 1)
and then I change slice view either by gragging QSplitter or by clicking on maximize button (on the picture) and apparently restores field of view to default.
Is this a drawback and the behaviour will be fixed in the future or it is done intensionally and to preserve my custom aspect ratio I need to hardcode my module?