darrenburns
a465f5c236
Horizontal width auto ( #1155 )
...
* Improvements to width:auto HorizontalLayout
* Fix HorizontalLayout.get_content_width
* Horizontal width auto improvement
* Removing some printxz
* Update snapshot for horizontal layout width auto dock
2022-11-16 14:49:52 +00:00
Dave Pearson
a37eac3cad
Merge pull request #1187 from davep/docstring-tidy
2022-11-15 17:43:09 +00:00
Dave Pearson
8c6c68a479
Add a docstring for the bind method
2022-11-15 16:49:13 +00:00
Dave Pearson
94e02b8d24
Add types to the docstrings for a Binding
2022-11-15 16:43:55 +00:00
Dave Pearson
38e6d1dbcb
Update the docstring of get_box_model
...
It looks like the get_auto_* parameters got renamed at some point so this
seeks to update the docstring for that. I'm not 100% sure if the description
of the parameters fully holds so that'll need checking.
2022-11-15 16:40:13 +00:00
Will McGugan
9fd1e7605a
Create PULL_REQUEST_TEMPLATE.md
2022-11-15 14:58:38 +00:00
Will McGugan
eb31d90f69
Merge pull request #1182 from davep/border-scream-test
...
Cleanup of _border.py
2022-11-15 13:47:08 +00:00
Will McGugan
e79cad6cb5
Merge pull request #1173 from davep/move-child
...
Add Widget.move_child
2022-11-15 13:46:22 +00:00
Will McGugan
a6f4a05776
Merge pull request #1168 from Textualize/test-deadlock
...
fix deadlock on tests
2022-11-15 13:46:03 +00:00
Dave Pearson
2ac0b60fed
Merge pull request #1181 from davep/bug/1175/missing-borders
...
Don't take transparent to imply not visible
2022-11-15 13:32:59 +00:00
Will McGugan
650b654966
remove nesting of try
2022-11-15 13:28:18 +00:00
Dave Pearson
7213834bd4
Update the CHANGELOG
2022-11-15 13:07:50 +00:00
Dave Pearson
8e89561e2d
Cleanup of _border.py
...
All indications are that Border isn't used within Textual any more.
2022-11-15 13:03:06 +00:00
Will McGugan
758b9a735c
Merge pull request #1178 from davep/styles-cache-typo
...
Correct a typo in the StylesCache docstring
2022-11-15 12:07:02 +00:00
Dave Pearson
af1168b4ee
Don't take transparent to imply not visible
...
This seeks to address #1175 , where a containing widget with a transparent
background, but with a border, won't show the border. It seems that at the
heart of the Compositor it's taking `is_transparent` (of the widget) as one
of the indicators that mean that it won't be visible. This wouldn't normally
be the case, in that a widget could be transparent (in the background) but
could have visible content.
Note that some snapshot tests failed with this change, but no material
difference was found in those failing snapshot tests.
2022-11-15 11:59:01 +00:00
Dave Pearson
912980d615
Correct a typo in the StylesCache docstring
2022-11-15 09:56:48 +00:00
Dave Pearson
54bf7a9fd3
Add a docstring note about before/after being mutually exclusive
2022-11-14 16:56:37 +00:00
Dave Pearson
58ee841dbd
DRY the conversion of a child index to a child Widget
2022-11-14 16:41:18 +00:00
Dave Pearson
48e5f5e026
Add Widget.move_child
...
Adds a method to Widget that allows moving a child of that widget within its
list of children. Options are to move before or after a specific location,
or a sibling widget.
Seeks to implement #1121 .
2022-11-14 12:22:24 +00:00
Will McGugan
3c73914086
fix deadlock on tests
2022-11-13 13:22:56 +00:00
Will McGugan
1f4c156eac
Merge pull request #1165 from aaronst/datatable-initial-values
...
feat: initial datatable reactive values
2022-11-13 12:55:44 +00:00
Aaron Stephens
2675d617ff
fix: initialize reactive attributes last
2022-11-12 12:04:34 -08:00
Aaron Stephens
dadb7fe94a
Merge branch 'Textualize:main' into datatable-initial-values
2022-11-12 11:14:35 -08:00
Will McGugan
162759ec81
social links
2022-11-12 17:45:02 +00:00
Will McGugan
e7e4da62e6
Merge pull request #1167 from Textualize/anim-fix
...
Fix animation on styles
2022-11-12 15:50:09 +00:00
Will McGugan
0a45ff374f
update to greater than or equals
2022-11-12 12:24:36 +00:00
Will McGugan
e9489f194f
tweak to anim test
2022-11-12 12:22:31 +00:00
Will McGugan
46d12fcfe0
win fix
2022-11-12 12:17:01 +00:00
Will McGugan
2605785288
use per_counter
2022-11-12 12:12:23 +00:00
Will McGugan
949745a08a
add sleep to test
2022-11-12 12:05:59 +00:00
Will McGugan
b752ab5a04
more tests
2022-11-12 12:00:49 +00:00
Will McGugan
a0ab6c99f1
test for animation
2022-11-12 11:47:14 +00:00
Will McGugan
698e6f56e4
docs
2022-11-12 11:23:20 +00:00
Will McGugan
61379cd435
comments
2022-11-12 11:17:25 +00:00
Will McGugan
4a1d1565f3
Fix animation on styles
2022-11-12 11:12:49 +00:00
Aaron Stephens
1549c81ff1
feat: initial datatable reactive values
2022-11-11 12:06:26 -08:00
Will McGugan
cb96da1a8e
Merge pull request #1160 from Textualize/walk-factor
...
factored out walk
2022-11-11 18:24:38 +00:00
Will McGugan
9ec56e9f78
Merge branch 'main' into walk-factor
2022-11-11 18:23:45 +00:00
Will McGugan
fa89b0f4e2
Merge pull request #1163 from davep/docfix
...
Add missing close quote to height Python example
2022-11-11 18:08:32 +00:00
Will McGugan
b5b705ee57
Merge pull request #1158 from davep/docstring-tidying
...
Assorted docstring tweaks
2022-11-11 18:08:03 +00:00
Will McGugan
5b4f05592d
Merge pull request #1157 from davep/awaitable-remove
...
Awaitable remove
2022-11-11 18:06:41 +00:00
Dave Pearson
90c14815a0
Add missing close quote to height Python example
2022-11-11 17:59:33 +00:00
Dave Pearson
bc851d5466
Correct the description of the default screenshot action location
2022-11-11 17:21:32 +00:00
Will McGugan
e83a3a79bd
Added walk to docs
2022-11-11 10:05:12 +00:00
Will McGugan
b2d9f4703d
keep pylance happy
2022-11-11 09:55:56 +00:00
Will McGugan
41263c32df
restore type alias
2022-11-11 09:41:14 +00:00
Will McGugan
44e44da784
docstrings
2022-11-11 09:38:17 +00:00
Will McGugan
d93e300d95
walk.py
2022-11-11 09:33:31 +00:00
Will McGugan
698ecc62c6
factored out walk
2022-11-11 09:29:45 +00:00
Dave Pearson
d83c4aacbe
Make a property docstring more property-a-like
2022-11-10 21:43:14 +00:00