Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Games
Palapeli
Commits
35a4a2bf
Commit
35a4a2bf
authored
Apr 24, 2010
by
Stefan Majewsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align labels in TriggerListDelegate.
svn path=/trunk/KDE/kdegames/palapeli/; revision=1118504
parent
8212009c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/config/triggerlistview_p.h
src/config/triggerlistview_p.h
+2
-1
No files found.
src/config/triggerlistview_p.h
View file @
35a4a2bf
...
...
@@ -73,6 +73,7 @@ namespace Palapeli
setLayout
(
layout
);
layout
->
addWidget
(
m_iconLabel
);
m_iconLabel
->
setSizePolicy
(
QSizePolicy
::
Fixed
,
QSizePolicy
::
Fixed
);
m_iconLabel
->
setFixedSize
(
QSize
(
32
,
32
));
layout
->
addWidget
(
m_nameLabel
);
layout
->
addWidget
(
m_inputButton
);
m_inputButton
->
setSizePolicy
(
QSizePolicy
::
Fixed
,
QSizePolicy
::
Fixed
);
...
...
@@ -80,7 +81,7 @@ namespace Palapeli
void
setIcon
(
const
QIcon
&
icon
)
{
//TODO: respect global icon size configuration
m_iconLabel
->
setPixmap
(
icon
.
pixmap
(
2
2
));
m_iconLabel
->
setPixmap
(
icon
.
pixmap
(
3
2
));
}
void
setText
(
const
QString
&
text
)
{
...
...
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