diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2013-02-06 15:50:18 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2013-02-06 15:50:18 +0000 |
commit | a3d29dccd1b0f14ac2ee3e43f1d0c836f7b00a62 (patch) | |
tree | 080b0615eedb1dc3ff54c5e960f8a9584823ec32 | |
parent | f892e3c0d99fa6c1c72c32a44b2d80c14c42fa10 (diff) |
Changed QFont to fix size-problem
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@263 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
-rw-r--r-- | FaceTrackNoIR/FaceTrackNoIR.ui | 24 | ||||
-rw-r--r-- | FaceTrackNoIR/main.cpp | 4 |
2 files changed, 16 insertions, 12 deletions
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;</string> <widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
- <x>118</x>
- <y>60</y>
- <width>21</width>
- <height>16</height>
+ <x>108</x>
+ <y>58</y>
+ <width>31</width>
+ <height>20</height>
</rect>
</property>
<property name="styleSheet">
@@ -684,10 +684,10 @@ color:white;</string> <widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
- <x>118</x>
- <y>40</y>
- <width>22</width>
- <height>16</height>
+ <x>109</x>
+ <y>38</y>
+ <width>31</width>
+ <height>20</height>
</rect>
</property>
<property name="styleSheet">
@@ -701,10 +701,10 @@ border:none;</string> <widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
- <x>118</x>
- <y>20</y>
- <width>21</width>
- <height>16</height>
+ <x>108</x>
+ <y>18</y>
+ <width>31</width>
+ <height>20</height>
</rect>
</property>
<property name="styleSheet">
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!
|