Commit Graph

202 Commits

Author SHA1 Message Date
Olivier Philippon
b135fa784b [css] Add the management of a "blank" value for our borders 2022-05-17 15:18:27 +01:00
Darren Burns
353a31f56a Basic suggestions 2022-05-17 13:27:34 +01:00
Will McGugan
c2c2e79b2b Merge pull request #501 from Textualize/css-add-scrollbar-gutter-property
[css][scrollbar gutter] Manage the `scrollbar-gutter: stable` CSS property
2022-05-17 11:29:40 +01:00
Darren Burns
28e21b4703 Merge branch 'css' of github.com:Textualize/textual into text-input 2022-05-17 11:07:43 +01:00
Will McGugan
806017f0e2 Merge branch 'css' into auto-dimensions 2022-05-17 10:43:04 +01:00
Will McGugan
3e45949a5f tody 2022-05-16 11:47:40 +01:00
Will McGugan
e21921afe4 merge css 2022-05-13 17:11:06 +01:00
Will McGugan
efd4273a4c auto sizing 2022-05-13 15:27:02 +01:00
Darren Burns
5686b6a2c1 API for updating value of textinput widget 2022-05-13 14:54:47 +01:00
Darren Burns
e3aa17b258 Handling scrolling ourselves 2022-05-13 12:14:06 +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
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
Olivier Philippon
685a2fb510 [css][scrollbar gutter] Manage the scrollbar-gutter: stable CSS property
(only for vertical content though; we may see later on if we want to also apply that logic for horizontal scrolls?)
https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter
2022-05-12 10:19:46 +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