From 78282651dc64b27e7f5f2dae55205586b384265b Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 25 Sep 2015 16:27:51 +0300 Subject: Fix issues based on android testing -Some includes were missing -Widgets got on top of each other on openglSeries example -qmloscilloscope didn't show button texts properly Change-Id: I96cb64091275269f73d2a569ff53c2baae8b0f66 Reviewed-by: Titta Heikkala --- examples/charts/openglseries/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples/charts/openglseries/main.cpp') diff --git a/examples/charts/openglseries/main.cpp b/examples/charts/openglseries/main.cpp index 7b654a5d..01c6de54 100644 --- a/examples/charts/openglseries/main.cpp +++ b/examples/charts/openglseries/main.cpp @@ -148,11 +148,12 @@ int main(int argc, char *argv[]) QLabel *countLabel = new QLabel(&window); QString countText = QStringLiteral("Total point count: %1"); countLabel->setText(countText.arg(pointCount * seriesCount)); - countLabel->resize(window.width(), countLabel->height()); - fpsLabel->move(10,2); + countLabel->adjustSize(); + fpsLabel->move(10, 2); + fpsLabel->adjustSize(); fpsLabel->raise(); fpsLabel->show(); - countLabel->move(10, 14); + countLabel->move(10, fpsLabel->height()); fpsLabel->raise(); countLabel->show(); -- cgit v1.2.3