mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-03 02:50:07 -05:00
fix for the searchline stylesheet
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3890 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
516bfa4b9a
commit
3896ce0e5e
@ -177,11 +177,11 @@ void SearchDialog::checkText(const QString& txt)
|
|||||||
if(txt.length() < 3)
|
if(txt.length() < 3)
|
||||||
{
|
{
|
||||||
std::cout << "setting palette 1" << std::endl ;
|
std::cout << "setting palette 1" << std::endl ;
|
||||||
ui.searchlineframe->setStyleSheet("QFrame{ border: 2px solid #079E00; background-color: #DBDBDB; }");
|
ui.searchlineframe->setStyleSheet("QFrame#searchlineframe{ border: 2px solid #079E00; background-color: #DBDBDB; }");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ui.searchlineframe->setStyleSheet("QFrame { border: 2px solid #079E00; background-color: white; }");
|
ui.searchlineframe->setStyleSheet("QFrame#searchlineframe{ border: 2px solid #079E00; background-color: white; }");
|
||||||
std::cout << "setting palette 2" << std::endl ;
|
std::cout << "setting palette 2" << std::endl ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -706,8 +706,8 @@ border-image: url(:/images/btn_26_pressed.png) 4;
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">border: 2px solid #079E00;
|
<string notr="true">QFrame#searchlineframe{border: 2px solid #079E00;
|
||||||
background: white;</string>
|
background: white;}</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="frameShape">
|
<property name="frameShape">
|
||||||
<enum>QFrame::StyledPanel</enum>
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user