James Brock
James Brock
`"align"` style prop should be re-worked to allow any combination of [AlignmentFlag](https://doc.qt.io/qtforpython-6/PySide6/QtCore/Qt.html#PySide6.QtCore.Qt.AlignmentFlag) https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QLayout.html#PySide6.QtWidgets.QLayout.setAlignment https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QLabel.html#PySide6.QtWidgets.QLabel.setAlignment
Mostly done in #204 except I haven't decided yet whether to make `size_policy` part of the `style` props.
Examples ``` .................................................Exception ignored in: Traceback (most recent call last): File "/nix/store/rv4ykblb2w9qc7w7a10dbw4r1am7zm9n-python3-3.10.16/lib/python3.10/asyncio/base_events.py", line 690, in __del__ self.close() File "/nix/store/rv4ykblb2w9qc7w7a10dbw4r1am7zm9n-python3-3.10.16/lib/python3.10/asyncio/unix_events.py", line 68, in close super().close() File "/nix/store/rv4ykblb2w9qc7w7a10dbw4r1am7zm9n-python3-3.10.16/lib/python3.10/asyncio/selector_events.py", line 87, in close...
Haven't decided to merge this or not.
That should be fixed, thanks for the bug report.
https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QDateTimeEdit.html https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QCalendarWidget.html
When I want to enter a date I prefer to type in the date than to “pick” the date with a mouse. Here is an example:  https://github.com/pyedifice/pyedifice/blob/697e326001496d8e3f1012a5ae12fdd3e206956b/examples/example_base_components.py#L209-L267
Yeah I expect that would work well. Either use this [ihaskell-notebook published image](https://github.com/IHaskell/ihaskell-notebook/pkgs/container/ihaskell-notebook) as a `BASE_CONTAINER` in your `Dockerfile`, or copy the [ihaskell-notebook `Dockerfile`](https://github.com/IHaskell/ihaskell-notebook/blob/master/Dockerfile) and make your own changes to...
Maybe we could remove the implicit `Tracker` and instead just go back to explicit expression syntax with the `__call__` method for render trees like this. ```python return View()( Label("one"), *([View()(Label("two"),...
How about this. ```python class Element(): def __init__(self, label:str): self.label = label self.children = [] def __call__(self, *args): self.children.extend(args) return self def __str__(self) -> str: return self.label + " ["...