remove debug
This commit is contained in:
parent
086a96672a
commit
40fc65ae5a
@ -103,8 +103,6 @@ class PressTextButton(widgets.WidgetBase):
|
|||||||
text_width = self.text_label.content_width
|
text_width = self.text_label.content_width
|
||||||
self.text_label.x = self._x + (self.width - text_width) // 2
|
self.text_label.x = self._x + (self.width - text_width) // 2
|
||||||
self.text_label.y = self._y + (self.height - self.font_height) // 2 + (self.font_height * 0.2) # 修正一下位置
|
self.text_label.y = self._y + (self.height - self.font_height) // 2 + (self.font_height * 0.2) # 修正一下位置
|
||||||
print(self.text_label.x, self.text_label.y)
|
|
||||||
print(self.height, self.font_height)
|
|
||||||
|
|
||||||
def __contains__(self, item):
|
def __contains__(self, item):
|
||||||
return item in self.back_rec
|
return item in self.back_rec
|
||||||
|
Loading…
Reference in New Issue
Block a user