status-desktop/ui
Pascal Precht 74a88a70b3 feat(StatusBaseInput): introduce `component` property
This property enables users to load any component into the input field.
This is useful for rendering a "clearable" icon button, simple icons or
even more complex buttons.

Usage:

```qml
StatusBaseInput {
    ...
    component: StatusIcon {
        name: "cancel"
        color: Theme.palette.dangerColor1
        width: 16
    }
}
```

The `clearable` property of `StatusBaseInput` also renders and icon button
on the right hand side. With this new feature, `clearable` is just a short-hand
for:

```qml
StatusBaseInput {
    ...
    component: StatusFlatRoundButton {
        visible: edit.text.length != 0 &&
                statusBaseInput.clearable &&
                !statusBaseInput.multiline &&
                edit.activeFocus
        type: StatusFlatRoundButton.Type.Secondary
        width: 24
        height: 24
        icon.name: "clear"
        icon.width: 16
        icon.height: 16
        icon.color: Theme.palette.baseColor1
        onClicked: {
            edit.clear()
        }
    }
}
```

Closes #380
2022-09-21 18:20:03 +02:00
..
StatusQ feat(StatusBaseInput): introduce `component` property 2022-09-21 18:20:03 +02:00
app fix(Createchat/EditGroupChat view): fixed spacing all over 2022-09-21 17:39:51 +03:00
fonts fix(cpp): make libraries which are not dynamically loaded static 2022-08-02 15:30:08 +02:00
i18n chore(translations): update translations 2022-09-13 12:51:33 +02:00
imports feat(PinnedMessagesPopup): enable Unpin context menu entry 2022-09-21 10:48:20 +02:00
shared/status refactor(@desktop/general): qml code referring to the old code base commented out 2022-02-01 11:42:42 +01:00
generate-rcc.go chore(CPP): foundation for user onboarding 2022-07-07 23:23:09 +02:00
main.qml fix(@desktop/onboarding): use system theme while onboarding 2022-09-02 16:17:43 +03:00
nim-status-client.pro feat(CreateCommunityPopup): Add Community Banner to Create Community Modal 2022-08-18 10:15:04 +02:00