summaryrefslogtreecommitdiffstats
path: root/clients/tde/src/part/scope/part.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-03-03 18:36:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-03-03 18:36:33 -0600
commitbc7497f24cfbd77e7bb503a6265ed5f25d1c0cd1 (patch)
tree0d83494545b06af9cec23613408bf4ddd6050f95 /clients/tde/src/part/scope/part.cpp
parente8984bf61b9b57dd320cec82cc188933d218b37f (diff)
downloadulab-bc7497f24cfbd77e7bb503a6265ed5f25d1c0cd1.tar.gz
ulab-bc7497f24cfbd77e7bb503a6265ed5f25d1c0cd1.zip
Fix slow TraceWidget redraw
Add proper horizontal scrolling to TraceWidget
Diffstat (limited to 'clients/tde/src/part/scope/part.cpp')
-rw-r--r--clients/tde/src/part/scope/part.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/tde/src/part/scope/part.cpp b/clients/tde/src/part/scope/part.cpp
index 3277e0a..52851c0 100644
--- a/clients/tde/src/part/scope/part.cpp
+++ b/clients/tde/src/part/scope/part.cpp
@@ -204,6 +204,7 @@ ScopePart::ScopePart( TQWidget *parentWidget, const char *widgetName, TQObject *
m_traceWidget = m_base->traceScrollWidget->traceWidget();
connect(m_traceWidget, SIGNAL(cursorDragged(uint, double)), this, SLOT(cursorLevelChanged(uint, double)));
m_base->traceScrollWidget->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
+ m_base->traceScrollWidget->setResizePolicy(TQScrollView::AutoOneFit);
m_base->traceScrollWidget->setHScrollBarMode(TQScrollView::AlwaysOff);
m_base->traceScrollWidget->setVScrollBarMode(TQScrollView::AlwaysOff);
m_traceWidget->setNumberOfCursors(5);