Commit graph

284 commits

Author SHA1 Message Date
Will McGugan
6f7d3b5ad7 text color 2022-09-13 10:53:22 +01:00
Will McGugan
73fa5010ad tweaks 2022-09-09 17:52:12 +01:00
Will McGugan
0c5fb488a8 screenshots 2022-09-09 16:00:42 +01:00
Will McGugan
933c972dd1 new readme 2022-09-09 15:54:16 +01:00
Will McGugan
12a8773c5c fix stopwatch example 2022-09-09 11:38:26 +01:00
Will McGugan
48546112f8 focus level bindings 2022-09-08 21:11:05 +01:00
Will McGugan
b672a5608e prepopulate argv 2022-09-08 13:44:22 +01:00
Will McGugan
a76f1ea360 simplify 2022-09-08 11:30:31 +01:00
Will McGugan
afd22265f4 code browser and fixes 2022-09-08 11:00:05 +01:00
Will McGugan
e8a4f2e806 rename table to gird, diagrams for layout 2022-09-06 10:16:52 +01:00
Will McGugan
10ede76b9b added keys to calculatorm, press methid to Button, primary button style 2022-08-31 09:30:41 +01:00
Will McGugan
78fb85b725 calculator tweak 2022-08-30 18:48:24 +01:00
Will McGugan
a81b1945da fix button 2022-08-30 18:41:55 +01:00
Will McGugan
ac36e6814e naming 2022-08-30 18:21:06 +01:00
Will McGugan
282a3df4c7 calculator fixes 2022-08-30 17:43:28 +01:00
Will McGugan
009c556ca9 calculator example 2022-08-30 16:21:52 +01:00
Will McGugan
7040d00c7b more docs 2022-07-30 17:01:51 +01:00
Will McGugan
53693e6200 move example apps, add render_lines to scrollview 2022-06-08 16:19:17 +01:00
Will McGugan
0ff8c7e47c compositor and cache optimizations 2022-06-08 11:46:53 +01:00
Will McGugan
6bfc26c1ec more docs 2022-05-25 15:36:58 +01:00
Darren Burns
28f01641ce
Merge branch 'css' of github.com:Textualize/textual into text-input 2022-05-13 10:27:39 +01:00
Darren Burns
0674f500ce
text-input-1 2022-05-11 10:11:01 +01:00
Darren Burns
43f65d73ae
Pass Rich Style object into Textual render method 2022-05-06 10:20:05 +01:00
Darren Burns
6b1dab5387
Add missing Styles import 2022-05-05 16:18:24 +01:00
Darren Burns
e473e4873a
Add style param to Widget render method 2022-05-05 16:06:49 +01:00
Olivier Philippon
73db7ae3ad [App] Add _path suffixes to PathLike constructor args 2022-05-04 14:51:27 +01:00
Will McGugan
d2b7c4d44a remove superfluous file 2022-04-07 10:55:58 +01:00
Will McGugan
79f522c99a moved basic.py in to sandbox 2022-04-06 11:23:18 +01:00
Will McGugan
575de6e741 darken to use lab color 2022-04-06 11:10:43 +01:00
Will McGugan
e8636d0d86 css reparse 2022-04-06 11:00:38 +01:00
Will McGugan
a27bbb9e28 tweaks 2022-04-05 17:31:17 +01:00
Will McGugan
82c0bd877c remove accent3 2022-04-05 17:10:04 +01:00
Will McGugan
ba707c96be blue and orange 2022-04-05 17:00:35 +01:00
Will McGugan
e44877c2af compositor nesting fix 2022-04-05 15:47:08 +01:00
Will McGugan
ca77f7e24d color tweaks 2022-04-04 19:49:18 +01:00
Will McGugan
2cda9053a3 color scheme 2022-04-04 17:25:27 +01:00
Will McGugan
ab5a2efd84 color scheme, compositor fix 2022-04-04 17:00:29 +01:00
Will McGugan
5508ece2e3 color animation 2022-03-30 15:04:36 +01:00
Will McGugan
0441a5d838 dirty regions 2022-03-27 17:50:26 +01:00
Will McGugan
89033238c4 scroll in border 2022-03-21 11:28:13 +00:00
Will McGugan
237c556673 refactor of compositor 2022-03-02 15:39:26 +00:00
Darren Burns
0e768380da Removing dev_sandbox 2022-02-18 12:27:11 +00:00
Darren Burns
2089e17be2 Docstring for tabs widget 2022-02-17 16:45:37 +00:00
Darren Burns
363cec1a4b Adding some additional parameters for customising tabs 2022-02-16 16:41:42 +00:00
Darren Burns
549897f9dd Animating tab change, set initial tab 2022-02-16 13:40:40 +00:00
Darren Burns
b2f7c2ac85 Displaying tabs with underline 2022-02-15 14:09:11 +00:00
Darren Burns
c30d1b9795 Combining tab headers and underline bars, no functionality yet 2022-02-14 14:48:13 +00:00
Darren Burns
80251e3234 Tidying up, applying opacity if it exists in styles 2022-02-11 11:46:04 +00:00
Darren Burns
e1591f5602 Add opacity, PercentageProperty 2022-02-11 10:21:44 +00:00
Will McGugan
623aa5cc03
Merge branch 'css' into inline-styles-view 2022-02-07 16:17:10 +00:00
Will McGugan
c74c069629 dispatch kehy 2022-02-07 12:00:36 +00:00
Will McGugan
8ad03e2216
Merge branch 'css' into inline-styles-view 2022-02-07 11:44:45 +00:00
Will McGugan
0d2cca9b41 fix for styles 2022-02-07 11:38:43 +00:00
Will McGugan
bb254bda76 css fixes 2022-02-04 19:25:42 +00:00
Will McGugan
a4b9776113 css output fix 2022-02-04 18:54:54 +00:00
Will McGugan
2a8fbd5505 convert styles to using sipler dict 2022-02-04 18:39:50 +00:00
Darren Burns
bb8b4e89d3 Error handling 2022-02-04 11:43:35 +00:00
Darren Burns
d50e2e1b0d Better error messages for CSS parsing errors relating to variables 2022-02-03 17:23:08 +00:00
Darren Burns
6b1554d970 Fix issue with css variables with multiple values 2022-02-03 12:43:05 +00:00
Will McGugan
b2974aad6e default styles 2022-02-03 11:56:12 +00:00
Darren Burns
d5f90d651a Better error message for undefined variables 2022-02-03 11:00:08 +00:00
Darren Burns
65a6b8d261 Substitution variables 2022-02-02 15:49:16 +00:00
Darren Burns
e2ee2aac68 Merge branch 'css' of github.com:willmcgugan/textual into vertical-layout 2022-01-31 14:44:25 +00:00
Will McGugan
baae995f54 merge main 2022-01-31 14:20:29 +00:00
Will McGugan
b4358f887b re-construct console 2022-01-28 10:13:30 +00:00
Will McGugan
988838a872 working windows driver 2022-01-27 16:54:10 +00:00
Darren Burns
d1738cffb5 Revert dev sandbox 2022-01-26 11:24:03 +00:00
Darren Burns
19d0a2b097 Fixing vertical layout 2022-01-25 15:20:14 +00:00
Darren Burns
deb7f1cb54 Use dock layout by default in View node-level CSS 2022-01-21 15:25:15 +00:00
Darren Burns
489f2c48d2 Merge branch 'css' of github.com:willmcgugan/textual into view-from-css 2022-01-21 14:23:16 +00:00
Darren Burns
5773e39845 Move LayoutProperty into styles, add some comments 2022-01-21 12:33:35 +00:00
Darren Burns
678a67ce2d Invisible widgets now dont render 2022-01-20 11:39:56 +00:00
Will McGugan
54e6342864 windows driver 2022-01-19 16:16:29 +00:00
Darren Burns
3af8c5ad9d
Merge pull request #212 from Textualize/visibility
Visibility
2022-01-19 16:09:54 +00:00
Darren Burns
ea40177db9 Reset styles before applying to ensure defaults are restored 2022-01-18 14:00:58 +00:00
Darren Burns
3188043aa6 Rename visible property to display, add setter 2022-01-18 13:51:15 +00:00
Darren Burns
466274cd4e Remove unused binding from basic.py example 2022-01-18 12:50:35 +00:00
Darren Burns
88ec4ba19d Initial implementation of visibility 2022-01-18 12:48:30 +00:00
Will McGugan
4abfb77517 hover pseudo class 2022-01-10 15:18:58 +00:00
Will McGugan
3ffc5826c2 psuedo classes 2022-01-10 11:31:06 +00:00
Will McGugan
73acc3240f
Merge branch 'css' into outline 2022-01-02 15:43:44 +00:00
Will McGugan
690df0518b fix for timer 2021-12-28 16:09:27 +00:00
Will McGugan
431f43fb4b basic fixes 2021-12-28 13:49:25 +00:00
Will McGugan
ddd1a10840 css render 2021-12-26 22:19:36 +00:00
Will McGugan
c5e1d76cfd css updates 2021-12-26 17:58:33 +00:00
Will McGugan
129015dea6 animation system 2021-12-20 14:25:56 +00:00
Will McGugan
bd1ebc5fe2 default styles 2021-12-19 17:55:03 +00:00
Will McGugan
e87f561428 declaration parser 2021-12-18 17:35:59 +00:00
Will McGugan
72f933b844 file monitor 2021-12-18 13:17:48 +00:00
Will McGugan
485c1bdfe1 fix refresh 2021-12-13 10:18:01 +00:00
Will McGugan
f40b339888 eol 2021-12-04 18:56:29 +00:00
Will McGugan
079d41473f scalars in CSS 2021-11-26 14:13:01 +00:00
Will McGugan
ad8f7e893a basic example 2021-11-25 21:14:37 +00:00
Will McGugan
a73c921198 padding and margin 2021-11-25 16:43:59 +00:00
Will McGugan
172eeb787b styles offset 2021-11-25 16:07:06 +00:00
Will McGugan
4137d354f0 fix for random rules names 2021-11-25 15:01:03 +00:00
Will McGugan
09544e172f key lines 2021-11-24 21:26:27 +00:00
Will McGugan
7d1872cade dock spec 2021-11-21 17:17:19 +00:00
Will McGugan
bc9b8efadf layers and z 2021-11-21 10:15:49 +00:00
Will McGugan
ab443c3614 CSS correctly applies 2021-11-19 22:12:38 +00:00
Will McGugan
b5f3f367ac startup 2021-11-19 17:01:42 +00:00
Will McGugan
b47b0ac734 ws 2021-11-19 12:15:29 +00:00
Will McGugan
9856f2a1c3 error handling 2021-11-12 15:26:27 +00:00
Will McGugan
d8728fddc0 formatting 2021-10-29 17:29:43 +01:00
Will McGugan
942b00f255 ws 2021-10-25 13:50:00 +01:00
Will McGugan
e2faad8f46 eof 2021-10-24 17:46:38 +01:00
Will McGugan
9704945e04 layout property, and app.tree 2021-10-21 17:08:32 +01:00
Jacob Deppen
ca3a95f838
Remove unused import
`from textual import events` is not used. The demo runs successfully without it.
2021-10-07 15:57:29 -04:00
Will McGugan
01bb02c84f eof 2021-10-03 21:22:51 +01:00
Will McGugan
b599fad865 Calculator fix 2021-09-20 15:07:58 +01:00
Will McGugan
368971045d fix for scrollview space 2021-09-19 21:09:31 +01:00
Will McGugan
ff64e147a2 easing example 2021-09-12 15:31:15 +01:00
Will McGugan
e4ad3ea4a8 end of files 2021-09-11 14:50:04 +01:00
Will McGugan
a0acf61a28 simplify arrange 2021-09-11 08:51:54 +01:00
Will McGugan
e6372688bc black 2021-09-05 08:57:22 +01:00
Will McGugan
771167c136 big table 2021-09-05 08:46:47 +01:00
Will McGugan
3f28a36028 end of file 2021-08-31 17:34:19 +01:00
Will McGugan
0696468a1c fix for horizontal scrolling 2021-08-27 21:48:43 +01:00
Will McGugan
5590829eef message_ to handle_ 2021-08-27 16:50:28 +01:00
Will McGugan
251de053ab combine updates 2021-08-27 15:26:44 +01:00
Will McGugan
577ef6bd25 version bump 2021-08-25 20:20:51 +01:00
Will McGugan
6ec37ce82f add keys to tree control 2021-08-21 11:19:06 +01:00
Will McGugan
fb141ed6c9 added style attributes to render 2021-08-17 21:28:47 +01:00
Will McGugan
98a0670dc1 invoke changes 2021-08-17 19:49:24 +01:00
Will McGugan
51d737b272 no async 2021-08-13 21:35:05 +01:00
Will McGugan
01e61d600c fix actions 2021-08-13 21:32:45 +01:00
Will McGugan
43016e2b9d remove boilerplate 2021-08-13 21:11:26 +01:00
Erez Shinan
620a7142a5
Update animation.py 2021-08-13 12:07:51 +03:00
Will McGugan
b8837dfdc3 words 2021-08-08 08:50:13 +01:00
Will McGugan
0995fbc69e simplify example 2021-08-07 12:15:27 +01:00
Will McGugan
ee825ab1f6 simplify 2021-08-07 12:12:35 +01:00
Will McGugan
636ed1a6e6 readme 2021-08-07 11:55:35 +01:00
Liam
e81eff6a7c fix typo in calculator example 2021-08-06 10:22:16 -04:00
Will McGugan
564a408004 black 2021-08-06 13:02:11 +01:00
Will McGugan
9a217923d5 examples 2021-08-06 12:57:35 +01:00
Will McGugan
07f95f96de version bump 2021-08-06 12:36:03 +01:00
Will McGugan
2ded0fa54b ws 2021-08-06 11:54:20 +01:00
Will McGugan
6618f0d272 Fix for blanking bug 2021-08-05 15:53:41 +01:00
Will McGugan
3e7eb0e650 event verbosity 2021-08-02 16:53:46 +01:00
Will McGugan
e04aaf4ed2 layout mechanism 2021-08-02 09:43:20 +01:00
Will McGugan
8bdbfffe71 added old value to watch 2021-07-30 08:59:56 +01:00
Will McGugan
72b3b58ef5 virtual size 2021-07-29 21:20:15 +01:00
Will McGugan
6cb25add4a renderer refactor 2021-07-29 16:53:54 +01:00
Will McGugan
ecc5d24b54 fix cropping on scroll 2021-07-28 21:04:25 +01:00
Will McGugan
06ebb74242 emol 2021-07-27 18:57:37 +01:00
Will McGugan
534f7b4dc1 layout_map refactor 2021-07-27 14:23:28 +01:00
Will McGugan
36b2621202 eol 2021-07-22 20:04:49 +01:00
Will McGugan
9bf83d56f0 simplified events, added compute 2021-07-20 07:37:57 +01:00
Will McGugan
d9fb516298 mount fix 2021-07-18 21:27:34 +01:00
Will McGugan
f737252911 newline 2021-07-18 10:31:00 +01:00