I can format columns
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import logging
|
||||
from dataclasses import dataclass
|
||||
from typing import Literal, Optional
|
||||
|
||||
@@ -12,6 +13,7 @@ from myfasthtml.core.instances import MultipleInstance
|
||||
from myfasthtml.icons.fluent_p1 import more_horizontal20_regular
|
||||
from myfasthtml.icons.fluent_p2 import subtract20_regular
|
||||
|
||||
logger = logging.getLogger("Panel")
|
||||
|
||||
class PanelIds:
|
||||
def __init__(self, owner):
|
||||
@@ -116,6 +118,7 @@ class Panel(MultipleInstance):
|
||||
return self._ids
|
||||
|
||||
def update_side_width(self, side, width):
|
||||
logger.debug(f"update_side_width {side=} {width=}")
|
||||
if side == "left":
|
||||
self._state.left_width = width
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user