def set_description(self):
"""
We must use a box adapter to get the text to scroll when this widget is already in
a Pile from the main question page. Scrolling is necessary for long questions which are longer
than the length of the terminal.
"""
self.content = self.description.strip("\n").split("\n")
self._w = ScrollableTextBox(self.content)
评论列表
文章目录