mirror of
https://github.com/aclist/dztui.git
synced 2026-11-01 07:32:44 +01:00
feat: col width WIP
This commit is contained in:
1 parent
c0df63b9d8
commit
21b6da8471
1 file changed
+4
@@ -56,6 +56,7 @@ if TYPE_CHECKING:
|
|||||||
from dzgui.views.base import AppNavigation
|
from dzgui.views.base import AppNavigation
|
||||||
from dzgui.const.enum import ContextMenu, RowType
|
from dzgui.const.enum import ContextMenu, RowType
|
||||||
from dzgui.views.base import OuterWindow
|
from dzgui.views.base import OuterWindow
|
||||||
|
from dzgui.views.trees.tree_servers import ServerTreeView
|
||||||
|
|
||||||
class Controller:
|
class Controller:
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
@@ -580,3 +581,6 @@ class Controller:
|
|||||||
suffix = ""
|
suffix = ""
|
||||||
self.mediator.statusbar.set_text(formatted + suffix)
|
self.mediator.statusbar.set_text(formatted + suffix)
|
||||||
#self.players = formatted
|
#self.players = formatted
|
||||||
|
|
||||||
|
def update_column_width(self, title: str, width: int) -> None:
|
||||||
|
self.mediator.servers.update_tab_widths(title, width)
|
||||||
Reference in new issue
Block a user