Commit Graph

1043 Commits

Author SHA1 Message Date
Darren Burns
1f54f69ba1 Add docstrings 2022-04-26 10:39:14 +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
Darren Burns
37f18247b5 Ensure docks error thrown correctly 2022-04-25 15:28:11 +01:00
Will McGugan
1d6e3fbe10 Merge pull request #415 from lllama/patch-3
[css branch] Update _style_properties.py
2022-04-25 14:26:42 +01:00
Darren Burns
34f4f5b8cc Help text for docks property 2022-04-25 14:20:35 +01:00
Will McGugan
8e1babdb17 Merge pull request #416 from Textualize/scrollbar-show-fix
fix for showing scrollbars
2022-04-25 13:11:05 +01:00
Will McGugan
99a9516cef remove blank line 2022-04-25 12:25:21 +01:00
Will McGugan
716dc22384 fix for showing scrollbars 2022-04-25 12:16:31 +01:00
Will McGugan
04a1ba3f65 Merge pull request #414 from Textualize/crop-optimize
optimize crop
2022-04-25 11:43:15 +01:00
Darren Burns
bcad9768d3 Use property name in error messaging for borders 2022-04-25 11:36:22 +01:00
Darren Burns
d4125d7a4c Error messaging for layout property, border-* properties 2022-04-25 11:34:43 +01:00
Felix Ingram
5315df45f0 Update _style_properties.py
Uses the string version of the argument to `cast` to work with python 3.8 and lower.
2022-04-25 11:21:56 +01:00
Will McGugan
05cd21fc92 Restore order 2022-04-25 11:12:44 +01:00
Will McGugan
ae01567fa3 optimize crop 2022-04-25 11:11:35 +01:00
Darren Burns
88d30dca55 Error messages for invalid colours in border property 2022-04-25 10:51:39 +01:00
Darren Burns
87f56d602c Skeleton for border property help 2022-04-22 16:52:12 +01:00
Darren Burns
d0fbe6d1b9 Merge branch 'css' of github.com:willmcgugan/textual into style-error-improvements 2022-04-22 16:25:19 +01:00
Darren Burns
5f35d33712 Small tweaks 2022-04-22 16:18:53 +01:00
Darren Burns
16c7220be4 Ensure color help text appears on unexpected tokens 2022-04-22 15:51:08 +01:00
Darren Burns
5f33050acc Handling invalid color values in CSS and inline styles 2022-04-22 15:50:04 +01:00
Darren Burns
62c3f9e945 Help & automatic examples for string enum properties 2022-04-22 15:19:40 +01:00
Will McGugan
6db5c6edfb Merge pull request #398 from Textualize/align
CSS align and box model
2022-04-22 14:01:26 +01:00
Will McGugan
74c354da29 docstring 2022-04-22 13:53:23 +01:00
Will McGugan
cacadf544a renames and docstrings 2022-04-22 13:51:08 +01:00
Will McGugan
e847f50ac2 Update src/textual/box_model.py
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2022-04-22 11:48:09 +01:00
Darren Burns
78f6c115c0 Some output redesign/improvements 2022-04-21 16:59:36 +01:00
Darren Burns
b7b98c8394 Scalar and Spacing help text 2022-04-21 15:33:07 +01:00
Will McGugan
2dd9f804e4 fix shutdown 2022-04-21 13:10:41 +01:00
Will McGugan
c79572a240 Merge branch 'css' into align 2022-04-21 12:54:50 +01:00
Will McGugan
1ede68c169 comment 2022-04-21 12:54:39 +01:00
Will McGugan
c68d6e8d0e tests for box model 2022-04-21 12:16:05 +01:00
Will McGugan
4980488973 width 100% 2022-04-21 11:53:55 +01:00
Will McGugan
b25dbf8771 box model tests 2022-04-21 11:51:38 +01:00
Darren Burns
ca01adb354 Contextual errors, extracting renderables 2022-04-21 11:46:44 +01:00
Will McGugan
bc63723363 box model fixes and tests 2022-04-21 11:43:45 +01:00
Darren Burns
92ef2e093e Consistent error messaging across CSS and inline styles 2022-04-20 17:17:28 +01:00
Will McGugan
2823718011 check for non-existant rules 2022-04-20 17:14:57 +01:00
Will McGugan
2c85bd97bd box model calculations 2022-04-20 17:00:52 +01:00
Will McGugan
3869eb7463 vertical layout, fix scroll issue for screen 2022-04-20 15:47:06 +01:00
Will McGugan
7f85fc6795 box model py 2022-04-20 14:21:04 +01:00
Will McGugan
66ec130726 box model 2022-04-20 14:20:44 +01:00
Darren Burns
637b14126a Update sandbox uber 2022-04-20 13:56:09 +01:00
Darren Burns
b9d00f301b Various changes/fixes 2022-04-20 13:54:34 +01:00
Darren Burns
00112ef740 Improving some CSS error messaging 2022-04-19 18:16:27 +01:00
Darren Burns
20fb43a8a0 Merge pull request #397 from Textualize/cli
Textual CLI
2022-04-19 17:24:13 +01:00
Darren Burns
619baed2a8 Update failing test 2022-04-19 17:19:06 +01:00
Darren Burns
624ad1a939 Switch devtools to using only ANSI colours 2022-04-19 17:17:58 +01:00
Darren Burns
0dfa225281 Use importlib-metadata backport for getting version 2022-04-19 13:56:19 +01:00
Darren Burns
70559a8be5 Add version option 2022-04-19 12:36:55 +01:00