Commit Graph

949 Commits

Author SHA1 Message Date
Will McGugan
8e821d4113 lazy parse_rules 2022-04-29 10:34:35 +01:00
Will McGugan
233c2c4075 fix css reload 2022-04-29 10:20:32 +01:00
Will McGugan
ee82f28407 Update src/textual/dom.py
Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
2022-04-28 15:26:32 +01:00
Will McGugan
ca62a0d533 fix property 2022-04-28 15:07:51 +01:00
Will McGugan
af3bb59ac0 Merge branch 'css' into buttons 2022-04-28 15:04:40 +01:00
Olivier Philippon
005943e79b Merge pull request #436 from Textualize/bugfix-display-none-is-being-ignored-in-vertical-and-horizontal-layouts
[layout][bugfix] Horizontal & Vertical layouts shouldn't display children that have `display: none`
2022-04-28 15:01:20 +01:00
Will McGugan
d68caf0c7a Merge pull request #441 from Textualize/bugfix-css-color-names-should-be-able-to-include-digits
[css][bugfix] CSS colors can now have digits at the end of their names
2022-04-28 14:59:58 +01:00
Will McGugan
9f9c681c01 docstirng 2022-04-28 13:57:05 +01:00
Will McGugan
a107663dfe removed code 2022-04-28 13:31:16 +01:00
Will McGugan
c6f3252890 docstring 2022-04-28 13:27:45 +01:00
Will McGugan
2701172e76 docstrings 2022-04-28 13:27:03 +01:00
Will McGugan
4a20455838 moved layout 2022-04-28 13:26:29 +01:00
Will McGugan
8999ca5a3d docstring 2022-04-28 13:19:17 +01:00
Will McGugan
4090d35168 new layout 2022-04-28 13:17:10 +01:00
Olivier Philippon
72555f4a77 [dom] Simplify the implementation of the displayed_children property 2022-04-28 12:26:30 +01:00
Olivier Philippon
3ed17cb406 [css][bugfix] CSS tokens can now have digits in their names
...excepted for their first char of course
2022-04-28 12:18:23 +01:00
Olivier Philippon
d0b8cacc35 [css][bugfix] CSS colors can now have digits at the end of their names 2022-04-28 10:44:05 +01:00
Olivier Philippon
f2bb9003c7 [layout][bugfix] Horizontal & Vertical layouts shouldn't display children that have display: none 2022-04-27 15:22:34 +01:00
Will McGugan
44c1f2373a button widget 2022-04-27 14:02:28 +01:00
Olivier Philippon
efafbdfcc1 Merge pull request #428 from Textualize/bugfix-setting-inline-styles-width-or-height-to-an-integer-causes-a-crash
[widget] Add a test for types of values we handle in style's size
2022-04-27 12:06:16 +01:00
Olivier Philippon
f7e72ed945 [widget] Better tests for types of values we handle or not in style's size 2022-04-27 11:26:33 +01:00
Olivier Philippon
9d1f9da641 [widget] Add a test for types of values we handle in style's size 2022-04-27 10:18:46 +01:00
Will McGugan
a11d0b4ab5 Merge pull request #420 from Textualize/esc-fix
fix for escape key processing
2022-04-26 15:28:56 +01:00
Will McGugan
e0b80dd3d6 remove superfluouse instance 2022-04-26 15:26:37 +01:00
Will McGugan
8a7d52156c win fix 2022-04-26 15:12:02 +01:00
Will McGugan
3e3454552f parser tests 2022-04-26 14:22:12 +01:00
Will McGugan
a1cbd0c700 fix for escape key processing 2022-04-26 13:54:09 +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
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
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
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
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
Will McGugan
bc63723363 box model fixes and tests 2022-04-21 11:43:45 +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