Rodrigo Girão Serrão
042bc3b3fe
Improve text-align example.
...
Replace statics with labels; change to a 2 x 2 grid layout to make it easier to see the difference between 'center' and 'justify'; increase readability by setting 'color: auto' in the labels.
2023-01-06 10:41:46 +00:00
Rodrigo Girão Serrão
7743feadff
Add GIF to show all scrollbar colors.
2023-01-06 10:28:54 +00:00
Rodrigo Girão Serrão
710697121d
Merge branch 'main' into review-styles-reference
...
[skip ci]
2023-01-06 10:05:16 +00:00
Will McGugan
85afdba125
Merge pull request #1480 from Textualize/fix-1479
...
Prevent scrollbar rules from being ignored
2023-01-06 01:58:35 -08:00
Will McGugan
70bded01f3
Merge pull request #1456 from nitzan-shaked/typing
...
basic typing fixes
2023-01-06 01:57:04 -08:00
Will McGugan
8ea2eae77b
Merge pull request #1500 from davep/faqtory-xkcd-327
...
Sanitise issue titles before running suggest on them
2023-01-06 01:53:58 -08:00
Dave Pearson
01e6ae43d0
Sanitise issue titles before running suggest on them
...
Applying
https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
to #1472 .
2023-01-06 06:43:41 +00:00
Dave Pearson
83ce1204b9
Merge pull request #1487 from davep/tree-node-label-prop
...
Add public access (both get and set) to the `label` of a `TreeNode`
2023-01-06 06:13:34 +00:00
Will McGugan
ad70de5e87
added question
2023-01-05 21:06:30 +00:00
Rodrigo Girão Serrão
c65c691b5a
Rework text-align CSS reference.
...
[skip ci]
2023-01-05 18:35:21 +00:00
Rodrigo Girão Serrão
d27e13a49a
Add text-align CSS type.
2023-01-05 18:33:51 +00:00
Rodrigo Girão Serrão
fa0a4ba3d4
Fix link.
2023-01-05 18:29:51 +00:00
Rodrigo Girão Serrão
fb9e803863
Add default styles for scrollbar colors.
2023-01-05 16:22:51 +00:00
Dave Pearson
b8727a8908
Merge branch 'main' into tree-node-label-prop
2023-01-05 14:30:42 +00:00
Dave Pearson
18eae615cc
Remove unnecessary return from label.setter
...
Python is expressive, but it ain't that expressive.
2023-01-05 14:26:45 +00:00
Nitzan Shaked
6e9d302e15
fix typing of tuple[] for py3.7
2023-01-05 14:23:40 +02:00
Will McGugan
6cfad7c4b3
Merge pull request #1466 from Textualize/sleep-tweak
...
don't sleep small intervals
2023-01-05 04:17:23 -08:00
Will McGugan
3be8f799c4
add constant
2023-01-05 12:07:42 +00:00
Nitzan Shaked
b78ca2bad2
more PR fixes
2023-01-05 14:02:15 +02:00
Nitzan Shaked
c1a90c25a1
black
2023-01-05 14:02:15 +02:00
Nitzan Shaked
5750666ad8
further PR fixes
2023-01-05 14:02:15 +02:00
Nitzan Shaked
080687ec60
fix PR comments thus far
2023-01-05 14:02:15 +02:00
Nitzan Shaked
05b10d8627
the very bare minimum typing fixes I need now. Sorry :/
2023-01-05 14:02:15 +02:00
Rodrigo Girão Serrão
ffe1f4a0c4
Update scrollbar-size rule reference.
...
[skip ci]
2023-01-05 12:02:05 +00:00
Rodrigo Girão Serrão
f457afd826
Add example for all scrollbar size rules.
2023-01-05 12:01:41 +00:00
Rodrigo Girão Serrão
5b6bedd8c6
Fix example to use labels.
2023-01-05 12:01:23 +00:00
Will McGugan
89667b2231
Merge branch 'main' into sleep-tweak
2023-01-05 03:56:19 -08:00
Will McGugan
ffc9daf82a
Merge branch 'main' into fix-1479
2023-01-05 03:47:27 -08:00
Will McGugan
0a35013696
Merge pull request #1458 from nitzan-shaked/mouse-events
...
MouseScrollUp/MouseScrollDown => plain MousEvent's
2023-01-05 03:41:09 -08:00
Will McGugan
9a4d61ac60
black
2023-01-05 11:34:07 +00:00
Will McGugan
5083cc188f
Merge branch 'main' into mouse-events
2023-01-05 11:33:45 +00:00
Will McGugan
1465063b71
changelog
2023-01-05 11:33:16 +00:00
Will McGugan
d5c8516ee7
refactor for readability
2023-01-05 11:30:20 +00:00
Rodrigo Girão Serrão
73621b6867
Review reference for scrollbar-gutter.
2023-01-05 11:21:31 +00:00
Rodrigo Girão Serrão
c81a046c0c
Fix and tweak scrollbar corner color reference.
2023-01-05 10:33:42 +00:00
Dave Pearson
d39c59c414
Move the TreeNode label tests into a better-named file
...
There's going to be a whole bunch of tests relating to the Tree and TreeNode
coming, let's make sure this ends up being fairly granular.
(side thought: it might be a good time soon to revisit all the tests for
Textual and try and wrangle them into some tidy structure)
2023-01-05 10:01:52 +00:00
Dave Pearson
b8a329638e
Add public access to a TreeNode's label
...
This adds public support to reading a TreeNode's label, and also setting it
too.
See #1396 .
2023-01-05 09:37:08 +00:00
Dave Pearson
a1e63a1c02
Process the label on construction of a TreeNode
...
Currently there's an asymmetry in how the label is handled for a TreeNode.
If a str label is passed to the constructor it stays as a str type. On the
other hand, if it's set via set_label, it gets processed into a Rich Text
type. This commit removes that asymmetry.
2023-01-05 09:21:52 +00:00
Rodrigo Girão Serrão
3ebc78260b
Update reference for all scrollbar colors.
2023-01-04 17:10:31 +00:00
Rodrigo Girão Serrão
9b53c7a704
Update base scrollbar example.
2023-01-04 17:10:12 +00:00
Rodrigo Girão Serrão
14f0240d6a
Add example for (background) scrollbar active/hover.
2023-01-04 17:09:58 +00:00
Rodrigo Girão Serrão
7fb00f531c
Add example for corner colors.
2023-01-04 17:09:35 +00:00
Rodrigo Girão Serrão
f2108f0475
Make CI happy.
2023-01-04 15:01:12 +00:00
Rodrigo Girão Serrão
e717c3cfad
Update changelog.
2023-01-04 14:51:43 +00:00
Rodrigo Girão Serrão
906fc6e216
Fix #1479 .
2023-01-04 14:49:06 +00:00
Rodrigo Girão Serrão
d708c53e6c
Fix links in link index.
2023-01-04 13:32:08 +00:00
Rodrigo Girão Serrão
745ec529b9
Update padding reference.
2023-01-04 11:43:47 +00:00
Rodrigo Girão Serrão
454d36cdc7
Use labels instead of static.
2023-01-04 11:43:38 +00:00
Rodrigo Girão Serrão
56e5e39740
Refactor overflow reference.
...
[skip ci]
2023-01-04 11:26:07 +00:00
Rodrigo Girão Serrão
8fd118c4bc
Add overflow CSS type.
2023-01-04 11:25:47 +00:00