Exemplo n.º 1
0
    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()
Exemplo n.º 2
0
    def on_resize(self, rows, cols):
        BaseMode.on_resize(self, rows, cols)

        if self.popup:
            self.popup.handle_resize()

        self.stdscr.erase()
        self.refresh()
Exemplo n.º 3
0
    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()
Exemplo n.º 4
0
    def on_resize(self, rows, cols):
        BaseMode.on_resize(self, rows, cols)

        if self.popup:
            self.popup.handle_resize()

        self.stdscr.erase()
        self.refresh()
Exemplo n.º 5
0
    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()
Exemplo n.º 6
0
    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()
Exemplo n.º 7
0
    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()
Exemplo n.º 8
0
    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()
Exemplo n.º 9
0
 def on_resize(self, rows, cols):
     BaseMode.on_resize(self, rows, cols)
     self.stdscr.erase()
     self.refresh()
Exemplo n.º 10
0
 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()
Exemplo n.º 11
0
 def on_resize(self, rows, cols):
     BaseMode.on_resize(self, rows, cols)
     self.refresh()
Exemplo n.º 12
0
 def on_resize(self, rows, cols):
     BaseMode.on_resize(self, rows, cols)
     self.refresh()
Exemplo n.º 13
0
 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()
Exemplo n.º 14
0
 def on_resize(self, rows, cols):
     BaseMode.on_resize(self, rows, cols)
     self.stdscr.erase()
     self.refresh()