13 Commits

Author SHA1 Message Date
Will McGugan
03ad3af83f remove old hack 2024-09-07 17:52:25 +01:00
Darren Burns
9287f64a66 Add isort pre-commit hook, sort imports in src and test directories 2023-02-09 13:28:08 +00:00
Rodrigo Girão Serrão
1def555a76 Add tests for dimensions of empty containers. 2022-12-02 15:43:24 +00:00
darrenburns
a465f5c236 Horizontal width auto (#1155)
* Improvements to width:auto HorizontalLayout

* Fix HorizontalLayout.get_content_width

* Horizontal width auto improvement

* Removing some printxz

* Update snapshot for horizontal layout width auto dock
2022-11-16 14:49:52 +00: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
Darren Burns
1b0c94e8a0 Remove draw.py, fix imports 2022-10-13 11:15:15 +01:00
Will McGugan
b22436933a lots of docstrings 2022-08-25 09:08:35 +01:00
Will McGugan
1abe8f933d test fixes, tests for partition 2022-07-27 15:37:33 +01:00
Will McGugan
4f69516d8d fix basic 2022-07-27 15:18:19 +01:00
Olivier Philippon
72555f4a77 [dom] Simplify the implementation of the displayed_children property 2022-04-28 12:26:30 +01:00
Olivier Philippon
f2bb9003c7 [layout][bugfix] Horizontal & Vertical layouts shouldn't display children that have display: none 2022-04-27 15:22:34 +01:00
Darren Burns
60134b650d Rename variable in a test 2022-01-21 14:39:20 +00:00
Darren Burns
1bc4bf54ae Adding tests for layout factory 2022-01-21 14:27:47 +00:00