Commit Graph

405 Commits

Author SHA1 Message Date
Darren Burns
ad2af62029 Update sandbox example to test animated dark mode toggle 2022-10-20 10:01:24 +01:00
Darren Burns
311108f779 Animating alpha colors 2022-10-20 09:47:03 +01:00
Dave Pearson
84e514e9e6 Merge pull request #954 from davep/bug/939/loss-of-focus-take-2
Try and better settle focus after a focused widget is removed (redux)
2022-10-19 15:35:23 +01:00
Darren Burns
d0cfd1a000 Fix variables in Screens, remove dark reactive from Screen 2022-10-19 14:16:13 +01:00
Dave Pearson
4a531dca6b Rename buttons in removal tester
This makes it easier for me to see which widget is which in the focus chain,
etc, when logging.
2022-10-19 12:55:04 +01:00
Dave Pearson
78bb052ac7 Add sandbox code for testing work on #939 2022-10-19 10:45:23 +01:00
darrenburns
4a0dc49bca Checkbox polishing + fix auto-width in Horizontal layout (#942)
* checkbox widget

* fixes

* Checkbox additions, fix content width in horizontal layout

* Update docs, add tests for checkbox

* Remove some test code

* Small renaming of test class

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2022-10-18 15:17:44 +01:00
darrenburns
8c075561a2 Add support for action handlers prefixed with _ (#946) 2022-10-18 15:17:03 +01:00
Will McGugan
7ac3ad2439 Merge pull request #941 from Textualize/bindings-order
key bindings refactor
2022-10-18 15:16:54 +01:00
darrenburns
0f31cc4e45 Add directory of file to run to sys path (#947) 2022-10-18 15:16:46 +01:00
Will McGugan
6dd73c2173 key bindings refactor 2022-10-18 11:03:42 +01:00
Will McGugan
763f245c49 fix alignment bug 2022-10-17 16:14:21 +01:00
Will McGugan
46208ef905 Merge branch 'css' into mount-wait 2022-10-17 09:36:15 +01:00
Will McGugan
8982d88f9e simplify compose 2022-10-15 13:07:15 +01:00
darrenburns
f8433e0ebb Get rid of string split key display, bug fix for not showing screen-level bindings (#910) 2022-10-15 11:15:41 +01:00
Will McGugan
28ffe6e511 remove comment 2022-10-14 18:48:27 +01:00
Will McGugan
5a8e492294 depth first search 2022-10-13 16:43:59 +01:00
Will McGugan
bb18db5612 Merge pull request #893 from Textualize/input-fix
Use screen offset instead of offset
2022-10-13 10:50:00 +01:00
darrenburns
36ac94734f Move focus logic to screen, add more key replacements, collapse bindings in footer (#880)
* Move focusing logic to the Screen level

* Update tests to support per-screen focus management

* Some additional key name replacements

* Improve rendering of bindings in footer when multiple items have same action

* Clean up footer, allow key_displays csv

* Prevent exception when widget is not in screen
2022-10-13 10:43:16 +01:00
Darren Burns
a0fe9e2087 Use screen offset instead of offset 2022-10-13 10:35:11 +01:00
Darren Burns
2784370ba1 Add several missing properties from Styles.css, fix several bugs/typos in it 2022-10-07 14:24:18 +01:00
Darren Burns
035bf80071 Make clock optional in header 2022-10-06 16:37:41 +01:00
Will McGugan
851cc6ff95 flexible columns, table docs 2022-10-06 11:12:22 +01:00
Will McGugan
0843b6bdeb Merge pull request #819 from Textualize/docs-widgets
Document widgets
2022-10-05 09:27:00 +01:00
darrenburns
54bdb4bac0 Fix comma separated string in "Bindings" (#797) 2022-10-04 18:37:06 +01:00
Darren Burns
ec14ed25d2 Document Footer widget 2022-10-04 11:26:23 +01:00
Will McGugan
9498a7fd43 new input features 2022-09-30 16:53:22 +01:00
Will McGugan
d35fb15350 new input 2022-09-29 13:21:31 +01:00
Will McGugan
72e59aad26 new input control 2022-09-28 12:24:28 +01:00
Will McGugan
d962dcd49c new align 2022-09-27 16:35:40 +01:00
Will McGugan
5b692e48d7 fix lock 2022-09-23 13:27:25 +01:00
Will McGugan
e4dd71655f links 2022-09-22 16:19:45 +01:00
Darren Burns
0b23ccff1e Delete some old sandbox stuff 2022-09-22 14:56:34 +01:00
Darren Burns
e521eea99f Remove old sandbox files 2022-09-22 14:54:37 +01:00
Will McGugan
3a53cdb2a5 dictionary example 2022-09-20 15:42:08 +01:00
Will McGugan
f70232ca5c Merge pull request #789 from Textualize/css-path
changed to CSS_PATH
2022-09-20 14:34:59 +01:00
Will McGugan
916a9d02ac Merge pull request #787 from Textualize/docs-events
Docs events
2022-09-20 14:34:45 +01:00
Will McGugan
d5051d35b5 Merge pull request #774 from Textualize/dont-render-zero-opacity-text
Minimise rendering when text-opacity/opacity is zero
2022-09-20 10:50:53 +01:00
Will McGugan
d0293c2c89 changed to CSS_PATH 2022-09-18 22:02:08 +01:00
Will McGugan
ce23decd54 tidy 2022-09-18 15:57:40 +01:00
Will McGugan
4e732ce309 dictionary example 2022-09-18 15:43:47 +01:00
Will McGugan
743b43a6c2 added render measure 2022-09-18 11:27:48 +01:00
Will McGugan
614b29e222 event docs 2022-09-18 09:10:22 +01:00
Darren Burns
4668b4a0d8 Dont render widgets with zero opacity 2022-09-14 18:00:32 +01:00
Darren Burns
0332f637ab text-opacity, dont render text when 0 2022-09-14 17:40:26 +01:00
Will McGugan
8020101c73 merge 2022-09-14 11:17:01 +01:00
Will McGugan
2a5e4b879d Merge pull request #765 from Textualize/layer-order
Layer order
2022-09-14 11:14:52 +01:00
Will McGugan
45d1e1c7e1 border improvement 2022-09-13 14:27:29 +01:00
Darren Burns
751b451309 Update various broken variables 2022-09-13 13:46:01 +01:00
Will McGugan
6f7d3b5ad7 text color 2022-09-13 10:53:22 +01:00