def textDimensions(self, newValue: Dimensions): self._config.set(ValuePreferences.VALUE_PREFERENCES_SECTION, ValuePreferences.TEXT_DIMENSIONS, newValue.__str__()) self._preferencesCommon.saveConfig()
def startupSize(self, newValue: Dimensions): self._config.set(MainPreferences.MAIN_SECTION, MainPreferences.STARTUP_SIZE, newValue.__str__()) self._preferencesCommon.saveConfig()
def orthogonalLayoutSize(self, newValue: Dimensions): self._config.set(MiscellaneousPreferences.MISCELLANEOUS_SECTION, MiscellaneousPreferences.ORTHOGONAL_LAYOUT_SIZE, newValue.__str__()) self._preferencesCommon.saveConfig()