Commit Graph

305 Commits

Author SHA1 Message Date
Darren Burns
ad803a7753 Text justify has become text align 2022-08-26 15:33:42 +01:00
Darren Burns
3b155216f0 Docs for text-justify 2022-08-26 14:51:27 +01:00
Darren Burns
6017bdd6d9 Merge branch 'css' of github.com:willmcgugan/textual into text-justify 2022-08-26 12:28:23 +01:00
Darren Burns
9eb5a17df7 Update sandbox example to use text-justify CSS property 2022-08-25 17:16:44 +01:00
Darren Burns
e8a2892e0e Merge branch 'css' of github.com:Textualize/textual into text-justify 2022-08-25 16:33:54 +01:00
Darren Burns
0db5fe47e0 Text justify initial work, help text 2022-08-25 10:53:44 +01:00
Will McGugan
d96cd97658 Merge branch 'css' into docs-intro 2022-08-23 11:28:53 +01:00
Will McGugan
bda9790a2a stopwatch04 2022-08-20 20:29:19 +01:00
darrenburns
3749412d2f Animation callback (#683)
* Add on_complete callback to Animations

* Add tests for on_complete Animation callbacks

* Update __textual_animation__ signature to include callback

* Support awaitable callbacks for animator on_complete

* Import tidying

* Update animator tests
2022-08-19 14:55:53 +01:00
Will McGugan
cccf0bd51b Merge branch 'css' into docs-intro 2022-08-19 11:39:55 +01:00
Will McGugan
60527b3322 Merge pull request #680 from Textualize/css-syntax-error-message
Improve error message for CSS syntax error
2022-08-18 10:38:42 +01:00
Darren Burns
113ac87c9e Use friendly_list in syntax error message 2022-08-18 10:28:55 +01:00
Will McGugan
29422a6d0b Merge branch 'css' into docs-intro 2022-08-17 15:05:13 +01:00
Will McGugan
97a9619d59 revised screens api 2022-08-17 08:46:06 +01:00
Will McGugan
cafff08e23 sandbox fix 2022-08-16 20:17:08 +01:00
Will McGugan
2284a87040 fix demo 2022-08-16 19:30:02 +01:00
Will McGugan
62f7ed8358 alignment fix 2022-08-16 17:06:33 +01:00
Will McGugan
a9fb78edc1 screens api 2022-08-16 11:39:40 +01:00
Will McGugan
ff55dafb86 prototype screens api 2022-08-16 11:00:47 +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
d3dcaf8564 Merge branch 'sidebar-fix' into docs-intro 2022-08-14 21:36:00 +01:00
Will McGugan
310af598f2 basic fix 2022-08-14 21:35:49 +01:00
Will McGugan
88e6da92ba merge 2022-08-14 21:29:17 +01:00
Will McGugan
5c56ba20d5 fix for percentage scalars 2022-08-14 21:26:16 +01:00
Will McGugan
538e5d4701 lots more docs 2022-08-14 15:43:00 +01:00
Will McGugan
b741810fce added allow_vertical_scroll and allow_horizontal_scroll 2022-08-13 19:47:41 +01:00
Will McGugan
f6a26c3f41 simplify 2022-08-13 12:02:39 +01:00
Will McGugan
5b7dd4b576 removed old version of widgets 2022-08-13 11:53:14 +01:00
Will McGugan
f00e2d22d4 header fixes, and lazy queries 2022-08-13 09:12:59 +01:00
Will McGugan
71bb29d5d4 remove log 2022-08-11 17:17:40 +01:00
Will McGugan
bd82ece9cf fix for footer 2022-08-11 16:45:31 +01:00
Will McGugan
1a1076bbea tree fix 2022-08-11 13:33:26 +01:00
Will McGugan
806582fcb4 partial tree control fix 2022-08-11 13:31:51 +01:00
Will McGugan
c28e7415e9 test fix 2022-08-11 10:37:32 +01:00
Will McGugan
2fb5a1dde7 CSS tie breaker 2022-08-11 10:20:50 +01:00
Will McGugan
b3eb543e38 unified events and messages 2022-08-10 13:09:38 +01:00
Will McGugan
d6079deb90 Merge pull request #656 from Textualize/center-layout
center layout
2022-08-09 11:58:39 +01:00
Will McGugan
f9828fba71 fix bug with layout updates 2022-08-07 21:16:59 +01:00
Will McGugan
2a85049732 added center layout 2022-08-07 15:00:21 +01:00
Will McGugan
85e3409309 center layout 2022-08-07 11:19:32 +01:00
Will McGugan
f577cb7d1a add scroll 2022-08-06 16:08:37 +01:00
Will McGugan
cdf7085797 added remove random button 2022-08-06 13:18:43 +01:00
Will McGugan
0b614fc4fc remove widgets 2022-08-06 08:42:40 +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
Will McGugan
fa4b971bff more docs 2022-08-04 15:27:41 +01:00
Will McGugan
1abe8f933d test fixes, tests for partition 2022-07-27 15:37:33 +01:00
Will McGugan
06bc566fec fix basic 2022-07-27 15:16:48 +01:00