diff options
| author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2022-02-17 11:55:38 +0100 |
|---|---|---|
| committer | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2022-06-29 13:27:41 +0200 |
| commit | fdb9efe56026f4752d3258a2f512e443796fc084 (patch) | |
| tree | 5c35a6c85c35c25b9b1740516a7c5a360e3fe87b /src/quick/doc/snippets/code | |
| parent | a11c34e908d59708326ee8e0942a8d5b5147e387 (diff) | |
MessageDialog: Simplify the footer for Basic, Imagine and Universal
I've always felt that the way the footer was declared, was a bit
inelegant. Because of this, I thought it would be a good idea to make
some minor adjustments to it, to make the code a bit nicer, and to get
rid of the ternary operator that was used for the Layout margins.
Rather than setting the left and right layout margins in the RowLayout
children, we can instead give the RowLayout itself a margin.
I wanted to apply similar changes to the Fusion and Material style too.
But unfortunately, I ran into some unexpected glitches for those styles.
Pick-to: 6.4
Change-Id: I3f58f6b0ff57fbf11552931f8120de675c219915
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quick/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
