eric6/Preferences/ConfigurationPages/NotificationsPage.py

branch
maintenance
changeset 8177
5688d73cc3ae
parent 8043
0acf98cd089a
child 8273
698ae46f40a4
equal deleted inserted replaced
8176:31965986ecd1 8177:5688d73cc3ae
113 self.xSpinBox.setMaximum( 113 self.xSpinBox.setMaximum(
114 self.xSpinBox.maximum() - self.__notification.width()) 114 self.xSpinBox.maximum() - self.__notification.width())
115 self.ySpinBox.setMaximum( 115 self.ySpinBox.setMaximum(
116 self.ySpinBox.maximum() - self.__notification.height()) 116 self.ySpinBox.maximum() - self.__notification.height())
117 self.__firstTime = False 117 self.__firstTime = False
118 self.__firstTime = False
119 else: 118 else:
120 # retrieve the position 119 # retrieve the position
121 point = self.__notification.frameGeometry().topLeft() 120 point = self.__notification.frameGeometry().topLeft()
122 self.xSpinBox.setValue(point.x()) 121 self.xSpinBox.setValue(point.x())
123 self.ySpinBox.setValue(point.y()) 122 self.ySpinBox.setValue(point.y())

eric ide

mercurial