Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
6b45f1bb
Commit
6b45f1bb
authored
Dec 04, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: make the search box take less space.
parent
7bdd5b8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+2
-1
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+3
-2
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
6b45f1bb
...
...
@@ -463,4 +463,5 @@ void PLSelector::podcastRemove( PLSelItem* item )
PLSelItem
*
PLSelector
::
itemWidget
(
QTreeWidgetItem
*
item
)
{
return
(
static_cast
<
PLSelItem
*>
(
QTreeWidget
::
itemWidget
(
item
,
0
)
)
);
}
\ No newline at end of file
}
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
6b45f1bb
...
...
@@ -119,9 +119,10 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
layout
->
addWidget
(
title
,
0
,
0
);
/* A Spacer and the search possibilities */
layout
->
set
Row
Stretch
(
1
,
10
);
layout
->
set
Column
Stretch
(
1
,
10
);
SearchLineEdit
*
search
=
new
SearchLineEdit
(
this
);
search
->
setMaximumWidth
(
160
);
layout
->
addWidget
(
search
,
0
,
4
);
CONNECT
(
search
,
textChanged
(
const
QString
&
),
this
,
search
(
const
QString
&
)
);
...
...
@@ -130,7 +131,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
addButton
->
setIcon
(
QIcon
(
":/buttons/playlist/playlist_add"
)
);
addButton
->
setMaximumWidth
(
30
);
BUTTONACT
(
addButton
,
popupAdd
()
);
layout
->
addWidget
(
addButton
,
0
,
2
);
layout
->
addWidget
(
addButton
,
0
,
3
);
/* Finish the layout */
layout
->
addWidget
(
view
,
1
,
0
,
1
,
-
1
);
...
...
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