Commit Graph

14 Commits

Author SHA1 Message Date
Darren Burns
9fe0a5f21c Add animation/transition delay support 2022-08-16 15:37:09 +01:00
Darren Burns
50e2baba54 Add on_complete callback to Animations 2022-08-16 13:50:11 +01:00
darrenburns
e94ea25faf Filling the gap between horizontal and vertical scrollbars (#664)
* Fill the spacing between the scrollbars

* Add "scrollbar-corner-color" CSS rule and doc

* Remove unused print statement

* Some sandbox changes

* Remove redundant words from docs

* Add docstring to ScrollBarCorner class
2022-08-16 10:55:34 +01:00
Will McGugan
b3eb543e38 unified events and messages 2022-08-10 13:09:38 +01:00
Will McGugan
d1b65cb95b Merge pull request #638 from Textualize/focus-order
Focus order
2022-08-05 15:06:46 +01:00
darrenburns
a166d84eef Register callbacks at message pump level, invoke them after refresh (#607)
* Register callbacks at message pump level, invoke them after refresh

* Fix a typo

* Code review feedback actions

* call_later callbacks invoked after refresh or on idle

* Fix space key in text input

* Make Widget.on_idle synchronous

* Fix call_later

* Rename PostScreenUpdate to InvokeCallbacks, and only fire if callbacks exist

* Update type hints for InvokeLater callbacks

* Update type signature of call_later callbacks, extract typevar
2022-08-05 13:47:47 +01:00
Darren Burns
3bbbc560f4 Optimising focus sort order 2022-08-05 13:33:00 +01:00
Darren Burns
5c86331c9a Improve order of focus 2022-08-05 10:13:08 +01:00
Darren Burns
c00de10262 Use more efficient bool to int conversion 2022-06-28 18:52:47 +01:00
Darren Burns
8617cbdc70 Update test over user css over widget css to show important widget css can be overridden by users too 2022-06-28 18:39:39 +01:00
Darren Burns
972aeece64 Add Specificity5 for user defined CSS 2022-06-28 17:26:18 +01:00
Darren Burns
7ebac6b860 Add wip test for user over widget css, use type alias 2022-06-28 13:52:58 +01:00
Darren Burns
71536364a4 Copy buttons example into sandbox 2022-06-22 14:03:24 +01:00
Darren Burns
76b39747ca Move files into darren sandbox 2022-06-22 14:02:24 +01:00