Commit Graph

46 Commits

Author SHA1 Message Date
Will McGugan
d962dcd49c new align 2022-09-27 16:35:40 +01:00
Darren Burns
0b23ccff1e Delete some old sandbox stuff 2022-09-22 14:56:34 +01:00
Will McGugan
916a9d02ac Merge pull request #787 from Textualize/docs-events
Docs events
2022-09-20 14:34:45 +01:00
Will McGugan
4e732ce309 dictionary example 2022-09-18 15:43:47 +01:00
Darren Burns
4668b4a0d8 Dont render widgets with zero opacity 2022-09-14 18:00:32 +01:00
Darren Burns
0332f637ab text-opacity, dont render text when 0 2022-09-14 17:40:26 +01:00
Darren Burns
751b451309 Update various broken variables 2022-09-13 13:46:01 +01:00
Darren Burns
4aed77efad Merge branch 'css' of github.com:Textualize/textual into easing-examples 2022-09-07 12:23:24 +01:00
Darren Burns
76e0bdb0c9 Revert sandbox 2022-09-07 12:13:32 +01:00
Darren Burns
b6e133c1af Cleanup easing example 2022-09-07 12:12:17 +01:00
Will McGugan
b271ca7c2f added char attribute to Text event 2022-09-04 11:02:24 +01:00
Will McGugan
d9fcba68cc Merge pull request #722 from Textualize/log-verbosity
Log verbosity
2022-09-02 14:01:38 +01:00
Will McGugan
278b8485e6 Merge pull request #724 from Textualize/css-path-relative
CSS Path Relative
2022-09-01 16:36:55 +01:00
Darren Burns
c9136eb247 Relative string CSS paths 2022-09-01 13:29:56 +01:00
Will McGugan
433aaafdd2 new logging 2022-09-01 11:11:03 +01:00
Darren Burns
2b7584c7ff Add opacity docs 2022-08-31 17:08:21 +01:00
Darren Burns
09acbfedfd Implement widget opacity 2022-08-31 15:57:37 +01:00
Darren Burns
4ed9e780de Merge branch 'css' of github.com:willmcgugan/textual into opacity-changes 2022-08-31 14:16:02 +01:00
Darren Burns
210214260d Renaming opacity to text-opacity in code 2022-08-31 13:39:34 +01:00
Darren Burns
45fbad2931 Merge branch 'css' of github.com:Textualize/textual into delay-transition 2022-08-30 16:07:46 +01:00
Darren Burns
6734700de2 Testing animation delay in CSS and code 2022-08-30 15:56:24 +01:00
Darren Burns
0455dacfdd Smarter delays - animator doesnt need to work during delay period 2022-08-30 15:51:26 +01:00
Will McGugan
1907b3fd88 Merge pull request #713 from Textualize/docs-values
Values sections for CSS properties, some rewordings
2022-08-30 12:59:31 +01:00
Darren Burns
779f49f858 Merge branch 'css' of github.com:Textualize/textual into delay-transition 2022-08-30 12:03:30 +01:00
Darren Burns
92f15abc42 Values sections added to CSS properties docs 2022-08-30 11:49:11 +01:00
Darren Burns
ad803a7753 Text justify has become text align 2022-08-26 15:33:42 +01:00
Darren Burns
3b155216f0 Docs for text-justify 2022-08-26 14:51:27 +01:00
Darren Burns
9eb5a17df7 Update sandbox example to use text-justify CSS property 2022-08-25 17:16:44 +01:00
Darren Burns
e8a2892e0e Merge branch 'css' of github.com:Textualize/textual into text-justify 2022-08-25 16:33:54 +01:00
Darren Burns
0db5fe47e0 Text justify initial work, help text 2022-08-25 10:53:44 +01:00
darrenburns
3749412d2f Animation callback (#683)
* Add on_complete callback to Animations

* Add tests for on_complete Animation callbacks

* Update __textual_animation__ signature to include callback

* Support awaitable callbacks for animator on_complete

* Import tidying

* Update animator tests
2022-08-19 14:55:53 +01:00
Darren Burns
113ac87c9e Use friendly_list in syntax error message 2022-08-18 10:28:55 +01:00
Darren Burns
9fe0a5f21c Add animation/transition delay support 2022-08-16 15:37:09 +01:00
Darren Burns
50e2baba54 Add on_complete callback to Animations 2022-08-16 13:50:11 +01:00
darrenburns
e94ea25faf Filling the gap between horizontal and vertical scrollbars (#664)
* Fill the spacing between the scrollbars

* Add "scrollbar-corner-color" CSS rule and doc

* Remove unused print statement

* Some sandbox changes

* Remove redundant words from docs

* Add docstring to ScrollBarCorner class
2022-08-16 10:55:34 +01:00
Will McGugan
b3eb543e38 unified events and messages 2022-08-10 13:09:38 +01:00
Will McGugan
d1b65cb95b Merge pull request #638 from Textualize/focus-order
Focus order
2022-08-05 15:06:46 +01:00
darrenburns
a166d84eef Register callbacks at message pump level, invoke them after refresh (#607)
* Register callbacks at message pump level, invoke them after refresh

* Fix a typo

* Code review feedback actions

* call_later callbacks invoked after refresh or on idle

* Fix space key in text input

* Make Widget.on_idle synchronous

* Fix call_later

* Rename PostScreenUpdate to InvokeCallbacks, and only fire if callbacks exist

* Update type hints for InvokeLater callbacks

* Update type signature of call_later callbacks, extract typevar
2022-08-05 13:47:47 +01:00
Darren Burns
3bbbc560f4 Optimising focus sort order 2022-08-05 13:33:00 +01:00
Darren Burns
5c86331c9a Improve order of focus 2022-08-05 10:13:08 +01:00
Darren Burns
c00de10262 Use more efficient bool to int conversion 2022-06-28 18:52:47 +01:00
Darren Burns
8617cbdc70 Update test over user css over widget css to show important widget css can be overridden by users too 2022-06-28 18:39:39 +01:00
Darren Burns
972aeece64 Add Specificity5 for user defined CSS 2022-06-28 17:26:18 +01:00
Darren Burns
7ebac6b860 Add wip test for user over widget css, use type alias 2022-06-28 13:52:58 +01:00
Darren Burns
71536364a4 Copy buttons example into sandbox 2022-06-22 14:03:24 +01:00
Darren Burns
76b39747ca Move files into darren sandbox 2022-06-22 14:02:24 +01:00