Commit Graph

1709 Commits

Author SHA1 Message Date
darrenburns
fec73ba0e1 Docs content align (#700)
* Docs for content-align, some bug fixes for it too

* Make the example output a little clearer

* Remove app.run() from content-align docs example

* Improve wording

* Move content-align and scrollbar-gutter docs exmaples to split css/py files

* Remove app.run() from scrollbar-gutter docs example
2022-08-19 15:35:31 +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
darrenburns
9eea01f5a1 Docs scrollbar gutter (#695)
* Add scrollbar-gutter docs

* Add scrollbar-gutter docs

* Add syntax and values section

* Rewording
2022-08-19 13:07:22 +01:00
Will McGugan
afdac156a4 Merge pull request #696 from Textualize/auto-refresh
tests for auto refresh
2022-08-19 11:37:06 +01:00
Will McGugan
9c6aa6b52d cosmetic 2022-08-18 11:15:30 +01:00
Will McGugan
45cd683434 typo 2022-08-18 11:14:33 +01:00
Will McGugan
e2c2f1abab relax constraint again 2022-08-18 11:10:43 +01:00
Will McGugan
ea5af6b668 raise quit after 2022-08-18 11:04:15 +01:00
Will McGugan
709c2ae961 cleaner logic re driver 2022-08-18 11:00:32 +01:00
Will McGugan
883e66aae5 relax constraint again 2022-08-18 10:53:57 +01:00
Will McGugan
48468e2576 simplify test 2022-08-18 10:49:46 +01:00
Will McGugan
015c4e86c7 relax constraint 2022-08-18 10:48:53 +01:00
Will McGugan
3631969f5d typing 2022-08-18 10:45:40 +01:00
Will McGugan
bf38dc3e2e fix whitespace error 2022-08-18 10:39:52 +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
Will McGugan
5328d77473 headless driver and tests 2022-08-18 10:37:11 +01:00
Will McGugan
de8569ecfb docstring 2022-08-18 10:35:17 +01:00
Will McGugan
965f3447d5 made features a frozenset 2022-08-18 10:34:38 +01:00
Darren Burns
113ac87c9e Use friendly_list in syntax error message 2022-08-18 10:28:55 +01:00
Will McGugan
c717dec982 tests for auto refresh 2022-08-18 10:20:03 +01:00
Will McGugan
f81f4484ca Merge pull request #685 from Textualize/screens
Screens API
2022-08-17 12:04:44 +01:00
Will McGugan
e2d78ee88f review changes 2022-08-17 11:59:06 +01:00
Will McGugan
d5b3b752c6 skip on py310 2022-08-17 10:12:37 +01:00
Will McGugan
11191b2109 fix segmentation fault 2022-08-17 10:06:25 +01:00
Will McGugan
d7656abb82 fix e2e 2022-08-17 09:55:54 +01:00
Will McGugan
cb7d806040 added quit_after 2022-08-17 09:47:54 +01:00
Will McGugan
abe87f755c docstring 2022-08-17 09:37:28 +01:00
Will McGugan
4b596352d9 removed cruft 2022-08-17 09:33:46 +01:00
Will McGugan
40374984ed test 2022-08-17 09:20:31 +01:00
Will McGugan
78c6c89544 added tests for screens 2022-08-17 09:17:39 +01:00
Will McGugan
97a9619d59 revised screens api 2022-08-17 08:46:06 +01:00
Will McGugan
efe0342a6f docstring 2022-08-16 20:39:43 +01:00
Will McGugan
cafff08e23 sandbox fix 2022-08-16 20:17:08 +01:00
Will McGugan
c915c38418 fix flicker on screen resume 2022-08-16 20:14:35 +01:00
Will McGugan
d7922c41e2 fix align 2022-08-16 20:07:51 +01:00
Will McGugan
2284a87040 fix demo 2022-08-16 19:30:02 +01:00
Will McGugan
431ac5dd31 Render fix 2022-08-16 19:25:25 +01:00
Will McGugan
346feea2d6 default classes 2022-08-16 17:45:16 +01:00
Will McGugan
62f7ed8358 alignment fix 2022-08-16 17:06:33 +01:00
Darren Burns
ec4445ee4d Merge branch 'css' of github.com:Textualize/textual into css-syntax-error-message 2022-08-16 12:20:37 +01:00
Darren Burns
39b316de40 Improve error message for CSS syntax error 2022-08-16 12:19:55 +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
5ae00815e6 Merge pull request #670 from Textualize/sidebar-fix
fix for footer
2022-08-15 07:50:03 +01:00
Will McGugan
5c56ba20d5 fix for percentage scalars 2022-08-14 21:26:16 +01:00
Will McGugan
b741810fce added allow_vertical_scroll and allow_horizontal_scroll 2022-08-13 19:47:41 +01:00
Will McGugan
9e7f3d5ec6 typing 2022-08-13 13:04:17 +01:00
Will McGugan
4ac4f3cee6 added results method 2022-08-13 12:25:35 +01:00
Will McGugan
77747bac56 docstrings 2022-08-13 12:11:07 +01:00