Darren Burns
d0cfd1a000
Fix variables in Screens, remove dark reactive from Screen
2022-10-19 14:16:13 +01:00
darrenburns
4a0dc49bca
Checkbox polishing + fix auto-width in Horizontal layout ( #942 )
...
* checkbox widget
* fixes
* Checkbox additions, fix content width in horizontal layout
* Update docs, add tests for checkbox
* Remove some test code
* Small renaming of test class
Co-authored-by: Will McGugan <willmcgugan@gmail.com >
2022-10-18 15:17:44 +01:00
darrenburns
8c075561a2
Add support for action handlers prefixed with _ ( #946 )
2022-10-18 15:17:03 +01:00
darrenburns
0f31cc4e45
Add directory of file to run to sys path ( #947 )
2022-10-18 15:16:46 +01:00
darrenburns
f8433e0ebb
Get rid of string split key display, bug fix for not showing screen-level bindings ( #910 )
2022-10-15 11:15:41 +01:00
Will McGugan
bb18db5612
Merge pull request #893 from Textualize/input-fix
...
Use screen offset instead of offset
2022-10-13 10:50:00 +01:00
darrenburns
36ac94734f
Move focus logic to screen, add more key replacements, collapse bindings in footer ( #880 )
...
* Move focusing logic to the Screen level
* Update tests to support per-screen focus management
* Some additional key name replacements
* Improve rendering of bindings in footer when multiple items have same action
* Clean up footer, allow key_displays csv
* Prevent exception when widget is not in screen
2022-10-13 10:43:16 +01:00
Darren Burns
a0fe9e2087
Use screen offset instead of offset
2022-10-13 10:35:11 +01:00
Darren Burns
2784370ba1
Add several missing properties from Styles.css, fix several bugs/typos in it
2022-10-07 14:24:18 +01:00
Darren Burns
035bf80071
Make clock optional in header
2022-10-06 16:37:41 +01:00
Will McGugan
0843b6bdeb
Merge pull request #819 from Textualize/docs-widgets
...
Document widgets
2022-10-05 09:27:00 +01:00
darrenburns
54bdb4bac0
Fix comma separated string in "Bindings" ( #797 )
2022-10-04 18:37:06 +01:00
Darren Burns
ec14ed25d2
Document Footer widget
2022-10-04 11:26:23 +01:00
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