fix label display with external tabs on some wins

This commit is contained in:
simonb 2006-04-17 14:24:11 +00:00
parent b2105a62c3
commit dd933c097c
2 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,9 @@
(Format: Year/Month/Day)
Changes for 0.9.16:
*06/04/17:
* Fix display of label for dialog-type boxes (Simon)
(only when external tabs are enabled, but not for particular window)
FbWinFrame.cc
* Fix fbrun position setting (-pos and -nearmouse args) (Simon)
util/fbrun/... FbRun.hh/cc main.cc
* Resize the clock if the text gets too big, sf.net patch #1436406

View file

@ -1216,7 +1216,7 @@ void FbWinFrame::applyTitlebar() {
m_titlebar.setAlpha(alpha);
m_label.setAlpha(alpha);
if (externalTabMode()) {
if (m_tabmode != INTERNAL) {
m_label.setGC(m_focused?theme().labelTextFocusGC():theme().labelTextUnfocusGC());
m_label.setJustify(theme().justify());