diff options
author | René Stadler <mail@renestadler.de> | 2011-11-06 13:19:55 +0100 |
---|---|---|
committer | René Stadler <mail@renestadler.de> | 2011-11-06 13:19:55 +0100 |
commit | 89b26236547ca3e234295019b3433a548a3b6ea3 (patch) | |
tree | 20eabc28bffa6d21fbdb5c735f20123cefa298bd /GstDebugViewer | |
parent | 08ed89f1784852aaf15d57b2f4c4f2930aa1334b (diff) |
columns: also auto size thread and pid column on zoom change
Diffstat (limited to 'GstDebugViewer')
-rw-r--r-- | GstDebugViewer/GUI/columns.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/GstDebugViewer/GUI/columns.py b/GstDebugViewer/GUI/columns.py index cf23de0..f0f7f3c 100644 --- a/GstDebugViewer/GUI/columns.py +++ b/GstDebugViewer/GUI/columns.py @@ -604,9 +604,12 @@ class ViewColumnManager (ColumnManager): # Timestamp and log level columns are pretty much fixed size, so resize # them back to default on zoom change: + names = (TimeColumn.name, + LevelColumn.name, + PidColumn.name, + ThreadColumn.name) for column in self.columns: - if column.name in (TimeColumn.name, - LevelColumn.name): + if column.name in names: self.size_column (column) def size_column (self, column): |