示例#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()
示例#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()
示例#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()
    def on_resize(self, rows, cols):
        BaseMode.on_resize(self, rows, cols)

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

        self.stdscr.erase()
        self.refresh()
示例#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()
示例#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()
示例#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()
示例#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()
示例#9
0
 def on_resize(self, rows, cols):
     BaseMode.on_resize(self, rows, cols)
     self.stdscr.erase()
     self.refresh()
示例#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()
示例#11
0
 def on_resize(self, rows, cols):
     BaseMode.on_resize(self, rows, cols)
     self.refresh()
示例#12
0
 def on_resize(self, rows, cols):
     BaseMode.on_resize(self, rows, cols)
     self.refresh()
示例#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()
示例#14
0
 def on_resize(self, rows, cols):
     BaseMode.on_resize(self, rows, cols)
     self.stdscr.erase()
     self.refresh()