Dave Pearson
2047fda57d
Rebuild the FAQ
2023-03-07 12:56:27 +00:00
Dave Pearson
c049888f55
Flesh out the list of problems with Terminal.app
2023-03-07 12:52:43 +00:00
Dave Pearson
3039a3fc62
Add a comment to explain the content of the warning list
2023-03-07 12:50:35 +00:00
Dave Pearson
ff532227d6
Reword the warning and link it to the FAQ entry
2023-03-07 11:51:08 +00:00
Dave Pearson
56ba7d9cc7
Add a FAQ about the default macOS terminal.app
2023-03-07 11:26:03 +00:00
Will McGugan
85f26e22d0
tweak
2023-03-07 11:19:28 +00:00
Will McGugan
1c91c3dba2
tweaked heights [skip ci]
2023-03-07 11:17:15 +00:00
Dave Pearson
e925eb7c81
Add a post-run warning hook, and test for macOS Terminal.app
...
This will change, this is more of a placeholder to test things. I'm next
going to write a FAQ and then we'll point to that.
2023-03-07 11:15:45 +00:00
Will McGugan
0f4eb2f1d5
Add widget gallery ( #1960 )
...
* Add widget gallery
* updated copy
2023-03-07 11:12:54 +00:00
Dave Pearson
951b6d66ec
Merge pull request #1959 from davep/extend-center-faq-entry
...
Extend the centering Q in the FAQ
2023-03-07 11:02:08 +00:00
Will McGugan
419e46b668
updated copy
2023-03-07 10:50:00 +00:00
Will McGugan
94cc12fc72
Add widget gallery
2023-03-07 10:47:02 +00:00
Dave Pearson
93a974b388
Fix a typo
...
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com >
2023-03-07 10:46:01 +00:00
Dave Pearson
fed11e50f9
Extend the centering Q in the FAQ
...
Add an example of how to center multiple widgets, rather than center the
bounding box of multiple widgets.
2023-03-07 10:16:51 +00:00
Dave Pearson
fcc16c0e59
Correct the example Python code for the border style ( #1956 )
...
To the best of my knowledge, and in testing myself, border and border_* are
properties of a widget's `styles` property, they're not a property of the
widget itself.
2023-03-07 09:28:02 +00:00
Will McGugan
864931e94b
Compound docs ( #1952 )
...
* compound example
* update bit switch
* prevent
* no css
* compound widget example
* more diagrams
* more diagrams
* diagrams
* words
* words
* remove sender
* removed priority post
* timer fix
* test fixes
* drop async version of post_message
* extended docs
* fix no app
* Added control properties
* changelog
* changelog
* changelog
* fix for stopping timers
* changelog
* docs update
* last byte example
* new section
* update of byte03
* updae to docs
* Added compound examples
* Rewording
* Use set sender
* don't need this
* hyphens
* Update docs/guide/widgets.md
Co-authored-by: Dave Pearson <davep@davep.org >
* Update docs/guide/widgets.md
Co-authored-by: Dave Pearson <davep@davep.org >
* Update docs/guide/widgets.md
Co-authored-by: Dave Pearson <davep@davep.org >
* Update docs/guide/widgets.md
Co-authored-by: Dave Pearson <davep@davep.org >
* Update docs/guide/widgets.md
Co-authored-by: Dave Pearson <davep@davep.org >
* Update docs/guide/widgets.md
Co-authored-by: Dave Pearson <davep@davep.org >
* Update docs/guide/widgets.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Update docs/guide/widgets.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Update docs/guide/widgets.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* Update docs/guide/widgets.md
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
* parenthesis
* stack diagram
---------
Co-authored-by: Dave Pearson <davep@davep.org >
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-03-06 16:56:24 +00:00
darrenburns
fd0e0d9983
Datatable extend background ( #1946 )
...
* Extending DataTable widget horizontally
* Fading background of extended DataTable rows
* Updating DataTable snapshots
* Update CHANGELOG.md
---------
Co-authored-by: Will McGugan <willmcgugan@gmail.com >
2023-03-06 16:27:29 +00:00
Dave Pearson
98cc1a7174
Merge pull request #1951 from davep/windows-friendly-toggle-buttons
...
Windows-friendly toggle buttons
2023-03-06 14:40:27 +00:00
Rodrigo Girão Serrão
8facffe8bc
Merge pull request #1950 from Textualize/docs-patch
...
Add subsection to separate example.
2023-03-06 14:18:51 +00:00
Dave Pearson
286293b810
Update the ChangeLog
2023-03-06 13:54:58 +00:00
Rodrigo Girão Serrão
8b70a464d7
Add subsection to separate example.
2023-03-06 13:54:01 +00:00
Dave Pearson
6ba1905d4a
Swap the radio button character
...
See #1934 . Simply put: the character that we were using doesn't render well
at all in Windows Terminal on Windows 10 or 11. This one isn't ideal as it
sits a little low, at least in some environments. I want to try this one on
for a wee bit and see how we feel about it.
Honestly, I'm not 100% happy with it; but right now it's the least-worst
option I've tried.
2023-03-06 13:50:28 +00:00
Dave Pearson
f59977563f
Merge branch 'main' into windows-friendly-toggle-buttons
2023-03-06 12:42:33 +00:00
Rodrigo Girão Serrão
294213e0a1
Update radio_set_changed.py ( #1947 )
...
In the aftermath of #1935 and #1940 this fell through the cracks.
2023-03-06 12:04:22 +00:00
Will McGugan
6d2e53c380
fix time ( #1948 )
...
* fix time
* no longer needed
2023-03-06 11:52:42 +00:00
Dave Pearson
f7a6981abf
Swap the checkbox character to an X
...
See #1934 . Simply put: the character that we were doesn't render well at all
in Windows Terminal on Windows 10; while there are other options available,
few seem to work well there either. So here we go for a bold X; this should
render fine everywhere.
2023-03-06 11:19:29 +00:00
Rodrigo Girão Serrão
8c59ba9875
Merge pull request #1926 from Textualize/fix-1815
...
Minor `keys.py` tidy up.
2023-03-06 11:14:20 +00:00
Rodrigo Girão Serrão
6c27bcfc33
Update changelog.
2023-03-06 11:07:10 +00:00
Rodrigo Girão Serrão
51a9eb4a88
Merge branch 'main' into fix-1815
2023-03-06 11:04:31 +00:00
Rodrigo Girão Serrão
571c2c3be5
Restore print.
2023-03-06 11:04:18 +00:00
Dave Pearson
623b70d4ac
Add an example of using a RadioSet.Changed message ( #1935 )
...
Unlike a few other widgets, the RadioSet is pretty much all about reacting
to the selection result; the question of how you go about it has already
come up and while the message is documented, complete with all properties,
it can't hurt to have an illustrative example of code that uses it.
Here I add an extra RadioSet example that sits with the message in the
reference. This should help the reader better follow how to use it, and also
gives something to link to if someone hasn't got that far into the
documentation yet but is attempting to use the RadioSet.
2023-03-06 10:53:12 +00:00
Will McGugan
373fc95fc1
Drop explicit sender attribute from messages ( #1940 )
...
* remove sender
* removed priority post
* timer fix
* test fixes
* drop async version of post_message
* extended docs
* fix no app
* Added control properties
* changelog
* changelog
* changelog
* fix for stopping timers
* changelog
* added aliases to radio and checkbox
* Drop sender from Message init
* drop time
* drop cast
* Added aliases
2023-03-06 10:52:34 +00:00
Will McGugan
cb84d9111c
Added typing for watch callbacks ( #1929 )
2023-03-03 11:29:49 +00:00
Rodrigo Girão Serrão
b88e4b08b4
Use keys.py utility functions consistently.
2023-03-02 17:32:23 +00:00
Rodrigo Girão Serrão
7acacf0746
Allow conversion to and from unicode names.
...
Throughout the code base, there are a couple of places (noted in #1830 ) where we take a Unicode name and make it more friendly, or take a 'friendly' name and try to recover the original Unicode name. We add a function to go from 'friendly' to the Unicode name, which tackles the issue highlighted in #1815 .
Related issues: #1815 , #1830 .
2023-03-02 17:31:55 +00:00
Rodrigo Girão Serrão
b6b76025d0
Add regression test for #1815 .
2023-03-02 17:21:19 +00:00
Will McGugan
203b31d30d
fix date
2023-03-02 15:27:23 +00:00
Will McGugan
55fc89cf14
changelog
v0.13.0
2023-03-02 14:51:59 +00:00
Will McGugan
2bf3ed1fea
version bump ( #1923 )
2023-03-02 14:50:21 +00:00
Will McGugan
41003e356c
Fix content width ( #1910 )
...
* fix calculation for scrollbars
* added snapshot
* fix for name change
* snapshot
* fix for textual colors
* remove logs
* scrollbar logic
* scroll logic
* remove dead code
* snapshot tests
* scrollbar mechanism
* tidy
* demo tweak
* preset window size
* no need for repaint
* Restore repaint
* wait for idle on pause
* colors tweak
* remove wait for idle
* snapshot
* small sleep
* change stabilizer
* debug tweaks
* remove debug
* remove debug
* snapshot test
* docstring
* changelog
* add pause
2023-03-02 14:39:31 +00:00
Dave Pearson
88a0349cb6
Merge pull request #1917 from davep/button-docs-widget-redux
...
Tidy up some Button documentation
2023-03-02 13:29:49 +00:00
Dave Pearson
0df17fc8f0
Tidy up some Button documentation
...
Adds missing documentation for disabled to each of the button variant
constructors, and also pulls in a couple more public-visible Button-related
types into the docs.
2023-03-01 16:46:47 +00:00
Dave Pearson
086c7d6688
Merge pull request #1909 from davep/widget-doc-sweep
...
Widget documentation sweep
2023-03-01 16:43:09 +00:00
Dave Pearson
d9ab2ac69c
Remove omit a unnecessary word
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-03-01 16:21:58 +00:00
Dave Pearson
5cfa998fe4
Improved wording
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-03-01 16:20:52 +00:00
Dave Pearson
88fcf4f070
Improved wording
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-03-01 16:18:47 +00:00
Dave Pearson
b3fe97e8b4
Improved wording
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-03-01 16:17:12 +00:00
Dave Pearson
b1c6da2169
Improved wording
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-03-01 16:16:56 +00:00
Dave Pearson
348fbe2cfa
Improved wording
...
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com >
2023-03-01 16:16:41 +00:00
Dave Pearson
768d4ae864
Code tidy
...
Tidying up after an on-forge merge conflict resolution that of course ended
up bypassing black.
2023-03-01 16:11:54 +00:00