Commit Graph

131 Commits

Author SHA1 Message Date
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
Will McGugan
08f90dc9ce refresh mechanism change 2022-05-11 11:07:41 +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
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
Darren Burns
c2c29222e5 Docstrings 2022-04-27 12:39:53 +01:00
Darren Burns
6b2533fb65 Spacing tests 2022-04-27 11:59:09 +01:00
Darren Burns
271e07eebf Add help text for offset-x and offset-y properies 2022-04-27 10:07:32 +01:00
Darren Burns
79e452fbee Display help text for offset property CSS 2022-04-26 17:00:39 +01:00
Darren Burns
39412c11a9 Ensure help text for align appears 2022-04-26 15:41:33 +01:00
Darren Burns
e2dafb523c Help text for align, fix off-by-one in tokenizer error output 2022-04-26 14:06:57 +01:00
Darren Burns
a5685c2e08 Help text for fractional properties 2022-04-26 13:05:54 +01:00
Darren Burns
20a8d8bf84 Undo some changes to uber sandbox example 2022-04-26 10:52:10 +01:00
Darren Burns
79ab5f17f4 Add help text for dock property 2022-04-25 16:53:08 +01:00
Darren Burns
d9fd240212 Inline border invalid number of edges help text 2022-04-25 15:56:46 +01:00