Commit Graph

141 Commits

Author SHA1 Message Date
Darren Burns
28f01641ce Merge branch 'css' of github.com:Textualize/textual into text-input 2022-05-13 10:27:39 +01:00
Darren Burns
4a5db9b4b0 Some experimenting with using the widget in different ways 2022-05-12 16:22:35 +01:00
Darren Burns
c34973ce80 Simple multiline text widget to help model text base class 2022-05-12 11:15:41 +01:00
Will McGugan
a51cb0c329 Merge remote-tracking branch 'origin/css' into compositor-granularity 2022-05-11 15:20:24 +01:00
Will McGugan
73a2dfb3c6 Merge pull request #494 from Textualize/tests-e2e-see-if-we-can-test-scroll-to-widget
[tests][e2e] Add a test for `Widget#scroll_to_widget()`
2022-05-11 14:52:40 +01:00
Will McGugan
b7a3a9b4c8 Merge pull request #486 from Textualize/css-add-did-you-mean-for-css-color-names
[css] Add a "Did you mean" suggestion when the value of a color is wrong but we can find a close one
2022-05-11 14:41:17 +01:00
Will McGugan
4cfc8f8947 merge 2022-05-11 14:33:12 +01:00
Will McGugan
760beac6be Merge pull request #479 from Textualize/render-style
Add style param to Widget render method
2022-05-11 13:32:35 +01:00
Olivier Philippon
e1c8ddf9c2 [scroll_to_widget] Add a quick sandbox to test the feature 2022-05-11 11:47:34 +01:00
Will McGugan
08f90dc9ce refresh mechanism change 2022-05-11 11:07:41 +01:00
Darren Burns
0674f500ce text-input-1 2022-05-11 10:11:01 +01:00
Olivier Philippon
e70f8a4333 [tests][e2e] Add a test for Widget#scroll_to_widget() 2022-05-11 10:10:11 +01:00
Will McGugan
674d3aefa3 Scroll to top when widget is larger than container 2022-05-10 13:58:16 +01:00
Will McGugan
7508bd4d84 Merge branch 'css' into scroll_to_widget 2022-05-10 13:38:05 +01:00
Darren Burns
b61ee05c98 Applying styles to button 2022-05-10 11:22:04 +01:00
Olivier Philippon
e37036c816 [css] Add a "Did you mean" suggestion when the value of a color is wrong but we can find a close one 2022-05-10 11:13:38 +01:00
Darren Burns
2425ba260f Ensure we dont overwrite style object injected into render 2022-05-10 09:55:04 +01:00
Will McGugan
a970193184 Added scroll_to_widget 2022-05-06 15:59:59 +01:00
Olivier Philippon
2d25807f49 [layouts] Fix vertical layout bug with centered content 2022-05-06 12:16:13 +01:00
Darren Burns
cc483e71b7 Merge branch 'css' of github.com:Textualize/textual into render-style 2022-05-06 11:08:56 +01:00
Olivier Philippon
a92f0f7ec5 [tests] Working on an integration test for the vertical layout 2022-05-06 10:35:52 +01:00
Darren Burns
43f65d73ae Pass Rich Style object into Textual render method 2022-05-06 10:20:05 +01:00
Will McGugan
a6f2e9d05f Merge pull request #477 from Textualize/focus-within
CSS focus-within pseudo selector
2022-05-05 16:47:17 +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
Darren Burns
d0ed7ef826 CSS focus-within 2022-05-05 14:46:20 +01:00
Will McGugan
afee5c0ed1 simplify 2022-05-05 14:39:54 +01:00
Will McGugan
bc497e0abe added auto height 2022-05-05 14:38:22 +01:00
Will McGugan
4ec565074d Merge pull request #463 from Textualize/start-accepting-paths-in-textual-api
[API] Start accepting PathLike objects here and there
2022-05-05 10:48:11 +01:00
Will McGugan
e382fc14b1 add new can_focus_children attribute 2022-05-05 10:36:59 +01:00
Olivier Philippon
73db7ae3ad [App] Add _path suffixes to PathLike constructor args 2022-05-04 14:51:27 +01:00
Olivier Philippon
3f09af3768 [API] Start accepting PathLike objects here and there 2022-05-04 14:36:26 +01:00
Will McGugan
8bee877bbc deprecate App.css 2022-05-04 11:11:41 +01:00
Will McGugan
fa664d36e7 Merge branch 'css' into tab-focus 2022-05-04 11:04:38 +01:00
Will McGugan
a2da5546bd focus traversal 2022-05-04 10:54:20 +01:00
Will McGugan
e5a1543431 Merge pull request #449 from Textualize/add-e2e-smoke-test-to-CI
[CI] Check that the "basic.py" sandbox script can be run for a few seconds without crashing
2022-05-04 10:50:37 +01:00
Darren Burns
4a6b5a31f4 Merge pull request #459 from Textualize/expanded-css-hex-support
Support 3 and 4 character hex strings for colours
2022-05-04 10:23:54 +01:00
Darren Burns
b7ebdd323f Support hex colours with 4 chars e.g. #ff0a 2022-05-03 17:46:29 +01:00
Darren Burns
21fa59d6a3 Support hex tripletds 2022-05-03 17:40:18 +01:00
Darren Burns
6eca86a05d Update tokenizer and Color.parse to not break on triple/quad hex values 2022-05-03 17:31:31 +01:00
Will McGugan
375a18c0b1 tint renderable + ccs + tab focus 2022-05-03 17:27:01 +01:00
Darren Burns
7368697386 Traceback frame omissions in style property setters 2022-05-03 17:11:23 +01:00
Olivier Philippon
4bc48d37a1 [CI] Check that the "basic.py" sandbox script can be run for a few seconds without crashing 2022-05-03 14:45:48 +01:00
Will McGugan
10ea36b36b Add TEXTUAL features env var 2022-04-29 14:20:09 +01:00
Will McGugan
191a6b7775 fix broken align and error logic 2022-04-29 11:52:38 +01:00
Will McGugan
1a3f65bb76 Merge branch 'css' into style-error-improvements 2022-04-29 10:56:27 +01:00
Will McGugan
233c2c4075 fix css reload 2022-04-29 10:20:32 +01:00
Will McGugan
4090d35168 new layout 2022-04-28 13:17:10 +01:00
Darren Burns
22eef4c31e Remove redundant refresh calls in border property setter 2022-04-28 10:46:15 +01:00
Will McGugan
44c1f2373a button widget 2022-04-27 14:02:28 +01:00