Commit Graph

1124 Commits

Author SHA1 Message Date
Will McGugan
83fab6a9e1 typos 2022-05-11 15:11:01 +01:00
Will McGugan
4cfc8f8947 merge 2022-05-11 14:33:12 +01:00
Will McGugan
477e19a012 remove debug 2022-05-11 14:31:19 +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
6763338c05 remove print 2022-05-11 11:31:55 +01:00
Will McGugan
999e84165d docstring and refinements 2022-05-11 11:31:13 +01:00
Will McGugan
08f90dc9ce refresh mechanism change 2022-05-11 11:07:41 +01:00
Darren Burns
595b944e0f Remove unecessary validate method call, stylize button properly 2022-05-11 10:23:51 +01:00
Will McGugan
b2699706b3 Merge pull request #492 from Textualize/scroll-to-fix
Scroll to top when widget is larger than container
2022-05-11 10:07:39 +01:00
Will McGugan
509a49c594 fix scrollbar refresh 2022-05-11 09:31:57 +01:00
Will McGugan
8f38ea4494 span refinements 2022-05-10 17:37:27 +01:00
Will McGugan
f8c7566ecd Merge branch 'css' into compositor-granularity 2022-05-10 16:06:00 +01:00
Will McGugan
4a7bf0e060 spans tweak 2022-05-10 14:40: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
6bfe065150 Merge pull request #483 from Textualize/scroll_to_widget
Added scroll_to_widget
2022-05-10 13:43:54 +01:00
Will McGugan
295273c974 fix for test 2022-05-10 13:40:47 +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
Will McGugan
816f4c9ba4 exposed duration and speed to scroll 2022-05-10 10:42:27 +01:00
Will McGugan
20c3220d73 improved compositor granularity 2022-05-10 10:30:16 +01:00
Will McGugan
231ad797d7 Merge pull request #482 from Textualize/bugfix-align-center-middle-not-working-correctly-with-scrollbars
[tests] Add an integration test for the vertical layout, fix the bug that messes up the layout when the children have `align: center top;`
2022-05-10 10:27:16 +01:00
Will McGugan
62582d0be3 Update src/textual/widget.py
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2022-05-10 10:11:04 +01:00
Darren Burns
055c43660c Fix typo 2022-05-10 09:58:47 +01:00
Darren Burns
b5bcc63511 Use Style.from_colors shortcut 2022-05-10 09:56:47 +01:00
Darren Burns
2425ba260f Ensure we dont overwrite style object injected into render 2022-05-10 09:55:04 +01:00
Olivier Philippon
72c9622b82 [layouts] Address feedback on "Fix vertical layout bug with centered content" PR 2022-05-10 09:12:55 +01:00
Will McGugan
0c83d20926 docstring fix 2022-05-09 08:48:54 +01:00
Will McGugan
c417e4656a update docstring 2022-05-09 08:48:03 +01:00
Will McGugan
f9f4cf43b0 better name 2022-05-06 17:38:27 +01:00
Will McGugan
cad971cb37 docstring 2022-05-06 17:29:40 +01:00
Will McGugan
580edb4f4b comment and tests 2022-05-06 16:39:03 +01:00
Olivier Philippon
7843683f5c [layouts] make integration test pass on Windows 2022-05-06 16:32:50 +01:00
Will McGugan
4a2588068c Comments 2022-05-06 16:13:34 +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
8fd7703fc5 Merge pull request #480 from Textualize/event-method
diplay event method
2022-05-05 17:06:13 +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
Will McGugan
84d34dd4ff diplay event method 2022-05-05 16:21:49 +01:00
Darren Burns
6b1dab5387 Add missing Styles import 2022-05-05 16:18:24 +01:00
Darren Burns
5251a1a195 Add some missing Styles imports for type hinting 2022-05-05 16:12:48 +01:00
Darren Burns
7d7ea6b4ff Pass missing styles into a render method in Screen 2022-05-05 16:08:52 +01:00
Darren Burns
e473e4873a Add style param to Widget render method 2022-05-05 16:06:49 +01:00
Will McGugan
b2553b34b2 Merge pull request #476 from Textualize/auto-height
added auto height
2022-05-05 15:10:18 +01:00
Will McGugan
c3dcad6c52 Merge pull request #478 from Textualize/devtools-line
line between logs
2022-05-05 15:10:05 +01:00
Will McGugan
c0856f653c line between logs 2022-05-05 14:59:28 +01:00
Darren Burns
d0ed7ef826 CSS focus-within 2022-05-05 14:46:20 +01:00
Will McGugan
1922040411 tweak 2022-05-05 14:45:30 +01:00