Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> Leuven, E. a écrit :
I guess you have commit RW access, so please commit your patch.
am not sure i have. i can imagine lars removed me from the list
after migrating to subversion
Abdelrazak> At least you have an account in "svn.lyx.org":
Lars said that svn accounts will be activated if people ask for it.
OK, I am going to commit this patch for now. Edwin, I beg you to ask for
it... I am sure you will have some interesting changes to propose in the
future... cough, biblio, cough... ;-)
Abdel.
Index: D:/msys/home/yns/lyx/trunk/src/frontends/qt4/ChangeLog
===================================================================
--- D:/msys/home/yns/lyx/trunk/src/frontends/qt4/ChangeLog (revision 13386)
+++ D:/msys/home/yns/lyx/trunk/src/frontends/qt4/ChangeLog (working copy)
@@ -1,3 +1,10 @@
+2006-03-16 Edwin Leuven <[EMAIL PROTECTED]>
+
+ * entries in the combobox in the toolbar are not legible
+ * same for entries in the listview in the preferences dialog
+ * the color is not updated after changing it (i always change the
+ murky pink color of lyx's background to white)
+
2006-03-16 Abdelrazak Younes <[EMAIL PROTECTED]>
* fixed inset button grey colors.
Index: D:/msys/home/yns/lyx/trunk/src/frontends/qt4/panelstack.C
===================================================================
--- D:/msys/home/yns/lyx/trunk/src/frontends/qt4/panelstack.C (revision 13383)
+++ D:/msys/home/yns/lyx/trunk/src/frontends/qt4/panelstack.C (working copy)
@@ -80,7 +80,9 @@
//it->second->addChild(item);
}
- panel_map_[n] = item;
+ panel_map_[n] = item;
+
+ list_->setFixedWidth(list_->sizeHint().width());
/*
item->setFlags(false);
item->setOpen(true);
Index: D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QLToolbar.C
===================================================================
--- D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QLToolbar.C (revision 13383)
+++ D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QLToolbar.C (working copy)
@@ -80,16 +80,11 @@
QLayoutBox::QLayoutBox(QToolBar * toolbar, QtView & owner)
: owner_(owner)
{
- QSizePolicy p(QSizePolicy::Minimum, QSizePolicy::Fixed);
combo_ = new QComboBox;
- combo_->setSizePolicy(p);
+ combo_->setSizeAdjustPolicy(QComboBox::AdjustToContents);
combo_->setFocusPolicy(Qt::ClickFocus);
combo_->setMinimumWidth(combo_->sizeHint().width());
- // QAction * action = new QAction(combo_, tr("Layout"), this);
-// action->setToolTip(toqstr(tooltip));
-// action->setStatusTip(toqstr(tooltip));
-
QObject::connect(combo_, SIGNAL(activated(const QString &)),
this, SLOT(selected(const QString &)));
Index: D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QPrefsDialog.C
===================================================================
--- D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QPrefsDialog.C (revision 13383)
+++ D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QPrefsDialog.C (working copy)
@@ -895,7 +895,7 @@
QColor c(QColorDialog::getColor(ci->color(), qApp->focusWidget() ?
qApp->focusWidget() : qApp->mainWidget()));
if (c.isValid()) {
ci->color(c);
- lb->update();
+ lb->triggerUpdate(false);
change_adaptor();
}
}