make empty conflist entries unselectable and change some debug output
[enigma2.git] / lib / gui / epositiongauge.cpp
index b3ee5111348c04787ca864d834c6a2f166a41756..ff98c080835532c4565558bb35254616b2673839 100644 (file)
@@ -144,7 +144,7 @@ int ePositionGauge::event(int event, void *data, void *data2)
                        {
                                painter.setForegroundColor(gRGB(m_foreground_color));
                                int xi = scale(in), xo = scale(out);
                        {
                                painter.setForegroundColor(gRGB(m_foreground_color));
                                int xi = scale(in), xo = scale(out);
-                               painter.fill(eRect(xi, 10, xo-xi, s.height()-14));
+                               painter.fill(eRect(xi, (s.height()-4) / 2, xo-xi, 4));
                        }
                        
                        in = m_length;
                        }
                        
                        in = m_length;