Skip to content

Commit 6df436a

Browse files
committed
Separate Label and RawLabel
This makes label work more like other widgets; the RawLabel widget is a thing that has a text data type (currently ArcStr) and displays this text. The existing Label widget is rewritten as a wrapper around RawLabel; it is basically a sort of specialized, env-aware LensWrap.
1 parent 7a3251b commit 6df436a

File tree

3 files changed

+270
-116
lines changed

3 files changed

+270
-116
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ You can find its changes [documented below](#060---2020-06-01).
4141
- `WindowLevel` to control system window Z order, with Mac and GTK implementations ([#1231] by [@rjwittams])
4242
- WIDGET_PADDING items added to theme and `Flex::with_default_spacer`/`Flex::add_default_spacer` ([#1220] by [@cmyr])
4343
- CONFIGURE_WINDOW command to allow reconfiguration of an existing window. ([#1235] by [@rjwittams])
44+
- `RawLabel` widget displays text `Data`. ([#1252] by [@cmyr])
4445

4546
### Changed
4647

@@ -467,6 +468,7 @@ Last release without a changelog :(
467468
[#1241]: https://github.com/linebender/druid/pull/1241
468469
[#1245]: https://github.com/linebender/druid/pull/1245
469470
[#1251]: https://github.com/linebender/druid/pull/1251
471+
[#1252]: https://github.com/linebender/druid/pull/1252
470472

471473
[Unreleased]: https://github.com/linebender/druid/compare/v0.6.0...master
472474
[0.6.0]: https://github.com/linebender/druid/compare/v0.5.0...v0.6.0

0 commit comments

Comments
 (0)