Commit Graph

3557 Commits

Author SHA1 Message Date
Rodrigo Girão Serrão
50ee4e57f2 Add example for grid-gutter. 2022-12-19 18:42:28 +00:00
Rodrigo Girão Serrão
d0e3734f30 Complete reference for grid-rows. 2022-12-19 18:02:40 +00:00
Rodrigo Girão Serrão
d1af311e3b Complete reference for grid-columns. 2022-12-19 18:02:27 +00:00
Rodrigo Girão Serrão
2bf444e015 Complete reference for grid size. 2022-12-19 18:02:12 +00:00
Rodrigo Girão Serrão
5e901458fb Add grid size examples. 2022-12-19 18:01:29 +00:00
Rodrigo Girão Serrão
da51877941 Add example for grid columns. 2022-12-19 17:50:13 +00:00
Rodrigo Girão Serrão
18a006607c Add example for grid rows. 2022-12-19 17:49:55 +00:00
Rodrigo Girão Serrão
0e78dce727 Complete integer reference. 2022-12-19 16:24:43 +00:00
Rodrigo Girão Serrão
73bdd7ed43 Complete reference for scalar unit. 2022-12-19 16:11:42 +00:00
Rodrigo Girão Serrão
77fcac719f Link to percentage unit. 2022-12-19 12:05:31 +00:00
Rodrigo Girão Serrão
dc127dad86 Add a snippet with the percentage syntax. 2022-12-19 12:01:59 +00:00
Rodrigo Girão Serrão
9de55aa1ce Add reference for fractional. 2022-12-19 12:00:10 +00:00
Rodrigo Girão Serrão
93eacff505 Complete color unit reference. 2022-12-19 11:17:37 +00:00
Rodrigo Girão Serrão
fbe763fde0 Add pages for all scrollbar color rules. 2022-12-19 10:54:55 +00:00
Rodrigo Girão Serrão
482e28bbf6 Add pages for all links rules. 2022-12-19 10:50:59 +00:00
Rodrigo Girão Serrão
b87d1c2e4a Add pages for CSS units. 2022-12-19 10:19:44 +00:00
Rodrigo Girão Serrão
9e7c4f4f4a Split grid reference into subpages. 2022-12-19 10:13:20 +00:00
Rodrigo Girão Serrão
22351a7cfb Add example to dock reference. 2022-12-15 19:00:16 +00:00
Rodrigo Girão Serrão
9c10dcf80e Add dock example with four docks. 2022-12-15 18:59:57 +00:00
Rodrigo Girão Serrão
4d810fcf0b Minor tweaks. 2022-12-15 18:22:05 +00:00
Rodrigo Girão Serrão
155f5ede7b Complete reference for content-align. 2022-12-15 18:10:36 +00:00
Rodrigo Girão Serrão
378f25a2b4 Add example app with content alignment grid. 2022-12-15 18:10:22 +00:00
Rodrigo Girão Serrão
ddd2e25038 Change statics to labels. 2022-12-15 18:10:02 +00:00
Rodrigo Girão Serrão
03a2e3080a Add CSS and Python syntax for individual axis alignment. 2022-12-15 18:09:13 +00:00
Rodrigo Girão Serrão
e5ef92d443 Add remark not to confuse with . 2022-12-15 17:43:16 +00:00
Rodrigo Girão Serrão
426aaf263c Complete CSS color reference. 2022-12-15 17:25:52 +00:00
Rodrigo Girão Serrão
decdc892e9 Add example to show auto selection of text color. 2022-12-15 17:25:39 +00:00
Rodrigo Girão Serrão
f0ea8a8664 Replace statics with labels. 2022-12-15 17:25:16 +00:00
Rodrigo Girão Serrão
11e41ad2e9 Fix typo. 2022-12-15 16:24:11 +00:00
Rodrigo Girão Serrão
6139e9d6b4 Mention theme variables for colors. 2022-12-15 16:22:35 +00:00
Rodrigo Girão Serrão
4897b9d1b7 Complete border reference. 2022-12-15 16:16:21 +00:00
Rodrigo Girão Serrão
e70f271afc Add example with all border types. 2022-12-15 16:15:30 +00:00
Rodrigo Girão Serrão
3a83c26779 Replace statics with labels. 2022-12-15 16:14:56 +00:00
Rodrigo Girão Serrão
d5d24235fa Factor out css color syntax into snippet.
This refactoring allows the _same_ paragraph(s) about the syntax of a color in Textual CSS to be reused throughout the docs, preventing us from repeating ourselves and allowing us to be more consistent.
2022-12-15 11:56:48 +00:00
Rodrigo Girão Serrão
c3d8df7d2e Improve docs on background style. 2022-12-15 11:30:39 +00:00
Rodrigo Girão Serrão
3e5698c21e Fix docstring for class method Color.parse. 2022-12-14 15:24:17 +00:00
Rodrigo Girão Serrão
afac92439c Add example for background transparency. 2022-12-14 14:35:11 +00:00
Rodrigo Girão Serrão
481ec2a3ab Improve doc string for class method Color.parse 2022-12-14 14:34:12 +00:00
Rodrigo Girão Serrão
2faff2fbfc Add complete alignment grid screenshot. 2022-12-13 18:30:14 +00:00
Rodrigo Girão Serrão
26a9e3fced Use Label for simple text widgets. 2022-12-13 18:29:55 +00:00
Will McGugan
a8c3018ba3 Merge pull request #1352 from Textualize/fix-1351
Fix binding merging when binding inheritance is set to `False`.
2022-12-13 16:37:15 +00:00
Rodrigo Girão Serrão
e9a5995c47 Update changelog. 2022-12-13 16:19:47 +00:00
Rodrigo Girão Serrão
f5dbdc9ee1 Merge branch 'main' into fix-1351 2022-12-13 16:18:39 +00:00
Rodrigo Girão Serrão
94c05aa876 Fix binding merging a la #1336 2022-12-13 16:16:04 +00:00
Rodrigo Girão Serrão
6d480056e5 Add a test for binding merging. 2022-12-13 16:15:28 +00:00
Will McGugan
9acdd70e36 Merge pull request #1350 from Textualize/fix-decimate
move refresh
2022-12-13 15:54:06 +00:00
Rodrigo Girão Serrão
d49477ce5a Merge pull request #1336 from Textualize/fix-1335
Fix default CSS retrieval from widgets with no `DEFAULT_CSS` that inherit from widgets that do have `DEFAULT_CSS`
2022-12-13 15:43:07 +00:00
Rodrigo Girão Serrão
37dec51432 Simplify default css retrieval.
By making use of __dict__ we have a simpler way of determining if the class defines its own default_css which does not involve comparing with the base class's default_css.
2022-12-13 15:06:47 +00:00
Will McGugan
966c4d0db9 move refresh 2022-12-13 10:35:22 +00:00
Will McGugan
338d74cd46 Merge pull request #1339 from davep/event-props
Add some missing widget event attributes
2022-12-13 09:26:04 +00:00