Commit Graph

3420 Commits

Author SHA1 Message Date
Will McGugan
7ba70ada96 fix examples 2022-12-08 17:24:34 +00:00
Will McGugan
1f64127235 snapshot 2022-12-08 16:51:31 +00:00
Dave Pearson
3c425c330e Merge pull request #1330 from davep/2022-12-08-davep-blog
2022-12-08 DevLog from davep
2022-12-08 15:49:43 +00:00
Will McGugan
eb27ba9057 Merge pull request #1331 from Textualize/ci-issues
Restricting black dependency upper bound due to wheel installation issues on MacOS
2022-12-08 15:01:14 +00:00
Will McGugan
d3bf1c930a Merge pull request #1329 from Textualize/auto-width
Fix for auto dimensions on containers, with relative children.
2022-12-08 14:59:07 +00:00
Darren Burns
b6eadddba3 Restricting black dependency 2022-12-08 13:57:14 +00:00
Darren Burns
9e59060c29 Update pre-commit black 2022-12-08 13:47:43 +00:00
Dave Pearson
88ec65d320 Fix typos
Good spots from @rodrigogiraoserrao
2022-12-08 13:44:50 +00:00
Dave Pearson
c6125b1c75 2022-12-08 DevLog from davep 2022-12-08 13:14:46 +00:00
Will McGugan
c44ae8b93e snapshot fix 2022-12-08 11:23:56 +00:00
Will McGugan
96cc8c9fc8 remove comment 2022-12-08 11:17:39 +00:00
Will McGugan
970a3ff417 fix easing 2022-12-08 11:16:42 +00:00
Will McGugan
c403b45f95 comments 2022-12-08 11:14:44 +00:00
Will McGugan
c405a3baea added demo to snapshots 2022-12-08 11:11:48 +00:00
Will McGugan
bec01bba91 fix for auto width and relative dimensions 2022-12-08 11:06:35 +00:00
Rodrigo Girão Serrão
b9cef559a3 Merge pull request #1326 from Textualize/blogpost-async-load-data
Add blog post about async background task.
2022-12-08 08:16:51 +00:00
Will McGugan
d1e284f238 Merge pull request #1311 from Textualize/fix-1309
Empty containers with auto dimensions will collapse
2022-12-07 18:32:03 +01:00
Rodrigo Girão Serrão
2a07d01c2e Update responsive-app-background-task.md 2022-12-07 17:07:14 +00:00
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
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