From de674e0abfad4df4ea11daccd31a9b77b3010956 Mon Sep 17 00:00:00 2001 From: Bartlomiej Moskal Date: Wed, 24 Jan 2024 10:57:02 +0100 Subject: 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 --- examples/multimedia/video/recorder/Controls.qml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'examples/multimedia') 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 } -- cgit v1.2.3