Commit graph

58 commits

Author SHA1 Message Date
Will McGugan
5606a40f07 don't make demo inline 2024-03-30 09:00:18 +00:00
Will McGugan
623d21b47b don't inline calculator 2024-03-29 16:49:57 +00:00
Will McGugan
4247753d54 calculate inline height 2024-03-27 17:53:44 +00:00
Will McGugan
ce36053352 docs and example 2024-02-20 21:38:47 +00:00
Rodrigo Girão Serrão
5ee0ebfef4
Rename CSS files to TCSS.
Related issue: #3137.
2023-08-22 13:21:17 +01:00
Will McGugan
bcd5760c67
calculator uses Digits (#3092)
* calculator uses Digits

* remove example
2023-08-11 17:49:30 +01:00
Will McGugan
91a9d570a4
On decorator (#2453)
* Add on decorator

* decorator code

* docs for on decorator

* Examples

* test errors

* simplify listing

* words

* changelog

* Update docs/guide/events.md

Co-authored-by: Dave Pearson <davep@davep.org>

* Update docs/guide/events.md

Co-authored-by: Dave Pearson <davep@davep.org>

* Update docs/examples/events/on_decorator.css

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>

* Update docs/guide/events.md

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>

* rewording

* comment

* clarification

* Added note

---------

Co-authored-by: Dave Pearson <davep@davep.org>
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2023-05-02 16:17:40 +01:00
Will McGugan
5c2cf2960e new syntax for calculator 2023-02-25 14:41:00 +00:00
Will McGugan
6f602f02c0 Add sensible error to query 2022-10-23 09:52:31 +01:00
Will McGugan
2358d9d568 fix for point key and keys in screenshot 2022-10-21 10:15:41 +01:00
Dave Pearson
da0f3911fb
Make Enter act as equals too
I suspect folk will hit enter when they mean = (see macOS calculator,
Windows calculator (I thin), etc...).
2022-10-20 13:40:15 +01:00
Dave Pearson
d7337c343e
Make the calculator example keyboard-friendly again 2022-10-20 13:38:54 +01:00
Dave Pearson
ae54db4f2a
Remove the bell from the calculator
Don't ping the terminal bell on every key-press. This might be okay on some
systems, on others (we're looking at you Windows) it's a wee bit
distracting.

See #955.
2022-10-19 14:21:19 +01:00
Will McGugan
d962dcd49c new align 2022-09-27 16:35:40 +01:00
Will McGugan
d0293c2c89 changed to CSS_PATH 2022-09-18 22:02:08 +01:00
Will McGugan
12a8773c5c fix stopwatch example 2022-09-09 11:38:26 +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
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
53693e6200 move example apps, add render_lines to scrollview 2022-06-08 16:19:17 +01:00
Will McGugan
6bfc26c1ec more docs 2022-05-25 15:36:58 +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
237c556673 refactor of compositor 2022-03-02 15:39:26 +00:00
Darren Burns
3188043aa6 Rename visible property to display, add setter 2022-01-18 13:51:15 +00: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
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
fb141ed6c9 added style attributes to render 2021-08-17 21:28:47 +01:00
Will McGugan
51d737b272 no async 2021-08-13 21:35:05 +01:00
Will McGugan
43016e2b9d remove boilerplate 2021-08-13 21:11:26 +01:00
Will McGugan
b8837dfdc3 words 2021-08-08 08:50:13 +01:00
Liam
e81eff6a7c fix typo in calculator example 2021-08-06 10:22:16 -04:00
Will McGugan
07f95f96de version bump 2021-08-06 12:36:03 +01:00
Will McGugan
9bf83d56f0 simplified events, added compute 2021-07-20 07:37:57 +01:00
Will McGugan
f737252911 newline 2021-07-18 10:31:00 +01:00
Will McGugan
caf62a97da calculator example 2021-07-14 20:08:27 +01:00
Will McGugan
fccdcaad2e examples working 2021-07-12 19:07:50 +01:00
Will McGugan
9d998eb982 Scroll view now uses grid 2021-07-11 15:47:00 +01:00
Will McGugan
022dbeec6c figlet sizes 2021-07-11 14:39:10 +01:00
Will McGugan
2802ce0a29 better name 2021-07-10 21:36:48 +01:00
Will McGugan
1fb2c358fd simplify 2021-07-10 21:32:44 +01:00
Will McGugan
063595316f style 2021-07-10 21:30:37 +01:00
Will McGugan
fb009944a7 simplify example code 2021-07-10 21:28:49 +01:00
Will McGugan
eb3432dee2 simplify example 2021-07-10 21:05:59 +01:00
Will McGugan
2257cbe97a grid layout 2021-07-10 20:49:22 +01:00