When deleting a complex figure, FlexGridLayout, which consists of a header, subheading and fields with some values and followed by undo, the figure is returned with the wrong width and height values, and each element in this figure, I looked, in commandStack.undostack there are already incorrect width values and heights, what could be the reason and what are the possible solutions to this problem, I will be very grateful for the help.
When deleting a complex figure, FlexGridLayout, which consists of a header, subheading and fields with some values and followed by undo, the figure is returned with the wrong width and height values, and each element in this figure, I looked, in commandStack.undostack there are already incorrect width values and heights, what could be the reason and what are the possible solutions to this problem, I will be very grateful for the help.