Commit Graph

3544 Commits

Author SHA1 Message Date
Will McGugan
cdf43d73ad Merge pull request #1328 from Textualize/placeholder-snapshot-fix
fix for snapshot
2022-12-07 18:07:02 +01:00
Will McGugan
a6e64a38ee fix for snapshot 2022-12-07 16:58:26 +00:00
Will McGugan
f1500f84bb Merge branch 'main' into fix-1309 2022-12-07 17:33:03 +01:00
Will McGugan
dd8a9562d0 fix for container height change 2022-12-07 16:02:51 +00:00
Will McGugan
e3605d132b Merge pull request #1259 from Textualize/fix-1258
Set default container height to 1fr.
2022-12-07 16:58:55 +01:00
Will McGugan
cdf7b3577a Merge branch 'main' into fix-1258 2022-12-07 16:58:44 +01:00
Will McGugan
795265bc45 Merge pull request #1229 from Textualize/placeholder
Add Placeholder widget
2022-12-07 16:56:34 +01:00
Will McGugan
c68e7490cc Merge pull request #1327 from Textualize/visibility-fix
fix for visiblity
2022-12-07 16:53:40 +01:00
Will McGugan
a25a60efbf remove html test 2022-12-07 15:01:50 +00:00
Will McGugan
23c2c3edd3 fix for visiblity 2022-12-07 14:41:30 +00:00
Rodrigo Girão Serrão
4ca6cc382c Add blog post about async background task. 2022-12-07 14:11:35 +00:00
Rodrigo Girão Serrão
08bf1bcbe9 Update CHANGELOG. 2022-12-05 15:10:30 +00:00
Rodrigo Girão Serrão
ba5ec6b34b Merge branch 'main' of https://github.com/Textualize/Textual into placeholder 2022-12-05 15:08:01 +00:00
Rodrigo Girão Serrão
f427c55e59 Remove Placeholder dependency on Static. 2022-12-05 13:47:07 +00:00
Dave Pearson
8760c3cc5e Merge pull request #1318 from davep/issue/1316/label-width
Change the default width of a label to auto
2022-12-05 13:16:23 +00:00
Dave Pearson
2e6e43e9b8 Fix copy/paste-o in DEFAULT_CSS for Label 2022-12-05 11:28:12 +00:00
Dave Pearson
cd4b421b74 Update snapshots to take into account new default Label width 2022-12-05 07:40:28 +00:00
Dave Pearson
ab38d701f2 Change the default width of a label to auto
See #1315 for the discussion that prompted this, #1316 for the issue where
this particular aspect of it was isolated as something to address.

I'm not 100% convinced that `Static` does the right thing here either, but I
don't want to go changing too make things at once. However, I think a good
argument can be made that `Label` should be `width: auto` by default, this
seems to make perfect sense to me. I think everyone would expect, by
default, that a label's width is the width of the content (plus any
decoration, of course).
2022-12-05 07:26:28 +00:00
Will McGugan
6295eff66e Merge pull request #1312 from Textualize/fix-layer-order
Fix layer order
2022-12-04 17:59:49 +07:00
Will McGugan
962b7d64b4 pause 2022-12-04 17:25:09 +07:00
Will McGugan
cc6f1c248d tiny optimiztion 2022-12-04 17:22:51 +07:00
Will McGugan
eab69a7739 snapshots 2022-12-04 17:18:42 +07:00
Will McGugan
0a8b001c62 fix for layer ordering 2022-12-04 17:17:27 +07:00
Rodrigo Girão Serrão
2a4050c463 Set min height for Input to 1. 2022-12-03 15:07:10 +00:00
Rodrigo Girão Serrão
6e30fdd2e3 Add changes to CHANGELOG. 2022-12-03 15:06:55 +00:00
Rodrigo Girão Serrão
f667c322b7 Fix failing tests for empty containers.
With this change, empty containers will now collapse instead of filling up the available space.
2022-12-03 14:30:36 +00:00
Rodrigo Girão Serrão
25499d9c31 Set minimum box model height to 0. 2022-12-03 14:27:19 +00:00
Rodrigo Girão Serrão
40fd3e8f78 Add box model test for empty container. 2022-12-03 14:26:42 +00:00
Rodrigo Girão Serrão
1def555a76 Add tests for dimensions of empty containers. 2022-12-02 15:43:24 +00:00
Darren Burns
29f48878e6 Use bindings for handling cursor 2022-11-30 12:22:29 +00:00
Darren Burns
f0c4023c47 Merge branch 'main' of github.com:Textualize/textual into list-view 2022-11-30 12:15:08 +00:00
Darren Burns
0698bc2368 Merge branch 'list-view' of github.com:Textualize/textual into list-view 2022-11-30 11:47:35 +00:00
darrenburns
422f9bed38 Update docs/widgets/list_view.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2022-11-30 11:42:42 +00:00
darrenburns
4834807f36 Update docs/widgets/list_item.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2022-11-30 11:39:09 +00:00
Darren Burns
853d05631d PR feedback 2022-11-30 11:37:03 +00:00
Dave Pearson
d2ba22b86f Merge pull request #1298 from chillerno1/bug/1297/missing_methods
Add missing type hints to methods
2022-11-28 15:48:49 +00:00
Will McGugan
b570094d9f Merge pull request #1299 from learnbyexample/fix-doc-typos
Fixed couple of link typos and one in the reference CSS for height
2022-11-28 14:25:29 +07:00
Sundeep Agarwal
dffdb63e9d fixed typos 2022-11-28 10:17:26 +05:30
chillerno1
aea5905179 Add missing type hints to methods 2022-11-28 11:40:27 +11:00
Dave Pearson
23c378dcac Merge pull request #1296 from davep/blog-tweak
Tweak a couple of words in my blog post
2022-11-27 13:25:16 +00:00
Dave Pearson
314b168dea Add a missing word to my blog post 2022-11-27 08:47:25 +00:00
Dave Pearson
61ad39661b Tweak a couple of words in my blog post
On first reading post-publish, couple of things stood out.
2022-11-27 08:33:29 +00:00
Dave Pearson
b0111d9c9c Merge pull request #1295 from davep/add-more
Add a "more" cut point
2022-11-27 08:20:01 +00:00
Dave Pearson
b46deca937 Merge pull request #1294 from davep/squish-pngs
Squish some PNGs
2022-11-27 08:19:24 +00:00
Dave Pearson
ee4d1ffffc Add a "more" cut point 2022-11-27 08:12:12 +00:00
Dave Pearson
c2de00567d Squish some PNGs 2022-11-27 07:51:15 +00:00
Dave Pearson
11fdc36c65 Merge pull request #1293 from davep/mouse-down-event 2022-11-27 07:06:44 +00:00
Dave Pearson
7b45e70957 Merge pull request #1292 from davep/davep-devlog-2022-11-26 2022-11-27 07:05:46 +00:00
Dave Pearson
ec227dbf10 Correct the type of the mouse down event 2022-11-26 16:48:38 +00:00
Dave Pearson
a25466e0d4 2022-11-26 DevLog from davep 2022-11-26 11:19:29 +00:00