Fixed justification in WorkspaceNameTool #1213262, values were set after the
render() call was made.
This commit is contained in:
parent
99a7f9a110
commit
a663db8fd3
2 changed files with 9 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 0.9.14:
|
||||
*05/06/07:
|
||||
* Fixed justification in WorkspaceNameTool #1213262 (Mathias)
|
||||
WorkspaceNameTool.cc
|
||||
*05/06/03:
|
||||
* Massive change of font handling (Mathias)
|
||||
- Usage of xft-fonts is prefered, except a font-description starts with '-'
|
||||
|
|
|
@ -127,6 +127,12 @@ void WorkspaceNameTool::reRender() {
|
|||
}
|
||||
|
||||
void WorkspaceNameTool::renderTheme(unsigned char alpha) {
|
||||
|
||||
m_button.setJustify(m_theme.justify());
|
||||
m_button.setBorderWidth(m_theme.border().width());
|
||||
m_button.setBorderColor(m_theme.border().color());
|
||||
m_button.setAlpha(alpha);
|
||||
|
||||
if (!m_theme.texture().usePixmap()) {
|
||||
if (m_pixmap)
|
||||
m_screen.imageControl().removeImage(m_pixmap);
|
||||
|
@ -136,9 +142,5 @@ void WorkspaceNameTool::renderTheme(unsigned char alpha) {
|
|||
reRender();
|
||||
}
|
||||
|
||||
m_button.setJustify(m_theme.justify());
|
||||
m_button.setBorderWidth(m_theme.border().width());
|
||||
m_button.setBorderColor(m_theme.border().color());
|
||||
m_button.setAlpha(alpha);
|
||||
m_button.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue