Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
ef77c313
Commit
ef77c313
authored
Apr 21, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt, use correctly sized mediainfo trees
parent
5e6a8181
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
modules/gui/qt4/components/info_panels.cpp
modules/gui/qt4/components/info_panels.cpp
+2
-9
No files found.
modules/gui/qt4/components/info_panels.cpp
View file @
ef77c313
...
...
@@ -335,11 +335,6 @@ ExtraMetaPanel::ExtraMetaPanel( QWidget *parent,
extraMetaTree
->
setColumnCount
(
2
);
extraMetaTree
->
resizeColumnToContents
(
0
);
extraMetaTree
->
header
()
->
hide
();
/* QStringList headerList = ( QStringList() << qtr( "Type" )
* << qtr( "Value" ) );
* Useless, add this header if you think it would help the user **
*/
layout
->
addWidget
(
extraMetaTree
,
1
,
0
);
}
...
...
@@ -412,10 +407,8 @@ InfoPanel::InfoPanel( QWidget *parent,
InfoTree
=
new
QTreeWidget
(
this
);
InfoTree
->
setColumnCount
(
1
);
InfoTree
->
setColumnWidth
(
0
,
20000
);
InfoTree
->
header
()
->
hide
();
// InfoTree->header()->setStretchLastSection(false);
// InfoTree->header()->setResizeMode(QHeaderView::ResizeToContents);
InfoTree
->
header
()
->
setResizeMode
(
QHeaderView
::
ResizeToContents
);
layout
->
addWidget
(
InfoTree
,
1
,
0
);
}
...
...
@@ -450,7 +443,7 @@ void InfoPanel::update( input_item_t *p_item)
current_item
->
addChild
(
child_item
);
}
InfoTree
->
setItemExpanded
(
current_item
,
true
);
InfoTree
->
setItemExpanded
(
current_item
,
true
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment