mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
columns: also auto size thread and pid column on zoom change
This commit is contained in:
parent
c2eddd8db4
commit
265cc8afdf
1 changed files with 5 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue