def METHOD_NAME(self):
    super().METHOD_NAME()
    # Enforce a minimum window size. This takes into account the title bar and
    # borders, which are included in Size but not in ClientSize.
    decor_size = self.native.Size - self.native.ClientSize
    layout = self.interface.content.layout
    min_client_size = Size(
        self.scale_in(layout.min_width),
        self.scale_in(layout.min_height) + self.top_bars_height(),
    )
    self.native.MinimumSize = decor_size + min_client_size