Replace the [code](https://github.com/CH4MPi/GUIFlash/blob/425934a9ba2b7d49548181759e9e0852be1dc230/res/scripts/client/gui/mods/gambiter/flash.py#L142) to take into account interface scaling in 4k mode: ``` def resize(self): if self.ui is not None: width, height = GUI.screenResolution() scale = ServicesLocator.settingsCore.interfaceScale.get() self.ui.as_resizeS(int(width / float(scale)), int(height / float(scale))) ```
Replace the code to take into account interface scaling in 4k mode: