# style\(ui\): align Diagnostics support report preview button with DisclosureButton primitive \(\#572\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/b82f9e5395b973218445209fc7bb69ae5d36e7c4)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: b82f9e5395b973218445209fc7bb69ae5d36e7c4

Requested commit: b82f9e5395b973218445209fc7bb69ae5d36e7c4

Commit: b82f9e5395b973218445209fc7bb69ae5d36e7c4

Tree: 9f895750acac5b1d48b10fe92b52e93c8eadb83d

Author: Simone

Committer: GitHub

## Message

```
style(ui): align Diagnostics support report preview button with DisclosureButton primitive (#572)

- Use `plainText` property instead of `text` on `supportPreviewDisclosure` in `configDiagnostics.qml`.
- `DisclosureButton` inherits from `PlainButton.qml`, which expects `plainText` to safely bind and format the button text and accessible name. Direct assignment to `text` broke the text binding and resulted in an empty label.
- Update `CHANGELOG.md` under `Unreleased` -> `Fixed`.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Lucenx9 <185146821+Lucenx9@users.noreply.github.com>
```

## Parents

- [3fa3d6473c878af37c03d27f04e2eca1b6a3e735](https://git.cafe/lucenx/codexbar-plasma/commit/3fa3d6473c878af37c03d27f04e2eca1b6a3e735?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/b82f9e5395b973218445209fc7bb69ae5d36e7c4?format=markdown)
