Qt Designer adds a geometry tag that contains the widget's default size in absolute units (pixels).
This is really annoying because if you edit a ui file on a 4k monitor all of your uis will (by default) display with massive white space on a lower DPI system.
If I manually delete this tag, my windows have the expected size on first-show, but manually editing every ui file each time I open them in Qt Designer feels wrong.
I'm using Qt 5.9.
What's the paradigmatic way to prevent Qt Designer from adding this XML tag?
In example.ui
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Example</class>
<widget class="QMainWindow" name="Example">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>970</width>
<height>1371</height>
</rect>
</property>