From a3d29dccd1b0f14ac2ee3e43f1d0c836f7b00a62 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Wed, 6 Feb 2013 15:50:18 +0000 Subject: Changed QFont to fix size-problem git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@263 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FaceTrackNoIR/FaceTrackNoIR.ui | 24 ++++++++++++------------ FaceTrackNoIR/main.cpp | 4 ++++ 2 files changed, 16 insertions(+), 12 deletions(-) (limited to 'FaceTrackNoIR') diff --git a/FaceTrackNoIR/FaceTrackNoIR.ui b/FaceTrackNoIR/FaceTrackNoIR.ui index 20c2ee53..e4fd2a7c 100644 --- a/FaceTrackNoIR/FaceTrackNoIR.ui +++ b/FaceTrackNoIR/FaceTrackNoIR.ui @@ -667,10 +667,10 @@ border:none; - 118 - 60 - 21 - 16 + 108 + 58 + 31 + 20 @@ -684,10 +684,10 @@ color:white; - 118 - 40 - 22 - 16 + 109 + 38 + 31 + 20 @@ -701,10 +701,10 @@ border:none; - 118 - 20 - 21 - 16 + 108 + 18 + 31 + 20 diff --git a/FaceTrackNoIR/main.cpp b/FaceTrackNoIR/main.cpp index 954bf592..6e0549d7 100644 --- a/FaceTrackNoIR/main.cpp +++ b/FaceTrackNoIR/main.cpp @@ -38,6 +38,10 @@ int main(int argc, char *argv[]) { //// QApplication a(argc, argv); FaceApp a(argc, argv); + QFont font; + font.setFamily(font.defaultFamily()); + font.setPointSize(9); + a.setFont(font); // // Create the Main Window and DeskTop and Exec! -- cgit v1.2.3