summaryrefslogtreecommitdiffstats
path: root/examples/multimedia
diff options
context:
space:
mode:
authorBartlomiej Moskal <bartlomiej.moskal@qt.io>2024-01-24 10:57:02 +0100
committerBartlomiej Moskal <bartlomiej.moskal@qt.io>2024-01-25 08:55:30 +0100
commitde674e0abfad4df4ea11daccd31a9b77b3010956 (patch)
treebb8556705b779de60fa90ffe80b3911cebf5699f /examples/multimedia
parent7ae069c6a5b36c0b0fd61b8e708f2b5bdca981f4 (diff)
Examples: Fix not visible text in recorder example
The "Capture" and "Settings" texts were not visible on Android devices. The size of the buttons and default padding caused the text to not fit inside. To make the text fit the size of the buttons, clear all paddings. Pick-to: 6.7 6.6 6.5 Fixes: QTBUG-121200 Change-Id: I6c7480237ed4d9ea374929105d019d04b590028a Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Diffstat (limited to 'examples/multimedia')
-rw-r--r--examples/multimedia/video/recorder/Controls.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/multimedia/video/recorder/Controls.qml b/examples/multimedia/video/recorder/Controls.qml
index a733b4dec..eb36ab33e 100644
--- a/examples/multimedia/video/recorder/Controls.qml
+++ b/examples/multimedia/video/recorder/Controls.qml
@@ -46,6 +46,10 @@ Row {
id: optionButtons
spacing: Style.intraSpacing
Button {
+ leftPadding: 0
+ rightPadding: 0
+ topPadding: 0
+ bottomPadding: 0
height: Style.height
width: Style.widthMedium
background: StyleRectangle { anchors.fill: parent }
@@ -54,6 +58,10 @@ Row {
font.pointSize: Style.fontSize
}
Button {
+ leftPadding: 0
+ rightPadding: 0
+ topPadding: 0
+ bottomPadding: 0
height: Style.height
width: Style.widthMedium
background: StyleRectangle { anchors.fill: parent }