Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
66ecfa7e
Commit
66ecfa7e
authored
Aug 20, 2006
by
zorglub
Browse files
Fix messages layout bug
Ensure we scroll correctly
parent
11f3f9b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/dialogs/messages.cpp
View file @
66ecfa7e
...
...
@@ -33,7 +33,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf, bool _main_input ) :
QVLCFrame
(
_p_intf
),
main_input
(
_main_input
)
{
setWindowTitle
(
_
(
"Messages"
)
);
resize
(
42
0
,
6
00
);
resize
(
60
0
,
4
00
);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
QPushButton
*
closeButton
=
new
QPushButton
(
qtr
(
"&Close"
));
...
...
@@ -101,7 +101,7 @@ void MessagesDialog::updateLog()
messages
->
setFontItalic
(
true
);
messages
->
setTextColor
(
"darkBlue"
);
messages
->
append
(
p_sub
->
p_msg
[
i_start
].
psz_module
);
messages
->
insertPlainText
(
p_sub
->
p_msg
[
i_start
].
psz_module
);
switch
(
p_sub
->
p_msg
[
i_start
].
i_type
)
{
...
...
@@ -128,7 +128,9 @@ void MessagesDialog::updateLog()
messages
->
setFontItalic
(
false
);
messages
->
setTextColor
(
"black"
);
messages
->
insertPlainText
(
p_sub
->
p_msg
[
i_start
].
psz_msg
);
messages
->
insertPlainText
(
"
\n
"
);
}
messages
->
ensureCursorVisible
();
vlc_mutex_lock
(
p_sub
->
p_lock
);
p_sub
->
i_start
=
i_start
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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