projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abd90f4
)
Fix initial column size measurement
author
René Stadler
<mail@renestadler.de>
Thu, 22 Nov 2007 11:35:39 +0000
(13:35 +0200)
committer
Stefan Sauer
<ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:39 +0000
(20:51 +0200)
debug-viewer/GstDebugViewer/GUI.py
patch
|
blob
|
history
diff --git
a/debug-viewer/GstDebugViewer/GUI.py
b/debug-viewer/GstDebugViewer/GUI.py
index
b68bbbc
..
e494e84
100755
(executable)
--- a/
debug-viewer/GstDebugViewer/GUI.py
+++ b/
debug-viewer/GstDebugViewer/GUI.py
@@
-388,7
+388,8
@@
class TextColumn (SizedColumn):
max_width = 0
for value in values:
cell.props.text = format (value)
- max_width = max (max_width, cell.get_size (view, None)[2])
+ rect, x, y, w, h = self.view_column.cell_get_size ()
+ max_width = max (max_width, w)
return max_width