def on_resize(self, rows, cols): BaseMode.on_resize(self, rows, cols) self.__update_columns() if self.popup: self.popup.handle_resize() self._listing_start = self.rows // 2 self.refresh()
def on_resize(self, rows, cols): BaseMode.on_resize(self, rows, cols) if self.popup: self.popup.handle_resize() self.stdscr.erase() self.refresh()
def on_resize(self, rows, cols): BaseMode.on_resize(self, rows, cols) self._calc_sizes() if self.popup: self.popup.handle_resize() self.sidebar.on_resize() self.refresh()
def on_resize(self, rows, cols): BaseMode.on_resize(self, rows, cols) if self.popup: self.popup.handle_resize() if not self.consoleui.is_active_mode(self): return self.toggle_sidebar()
def on_resize(self, rows, cols): BaseMode.on_resize(self, rows, cols) self.stdscr.erase() self.refresh()
def on_resize(self, rows, cols): BaseMode.on_resize(self, rows, cols) if self.popup: self.popup.handle_resize() self._listing_space = self.rows - 5 self.refresh()
def on_resize(self, rows, cols): BaseMode.on_resize(self, rows, cols) self.refresh()