mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 13:51:12 -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)
|
||||
{
|
||||
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
|
||||
{
|
||||
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 ;
|
||||
}
|
||||
}
|
||||
|
@ -706,8 +706,8 @@ border-image: url(:/images/btn_26_pressed.png) 4;
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border: 2px solid #079E00;
|
||||
background: white;</string>
|
||||
<string notr="true">QFrame#searchlineframe{border: 2px solid #079E00;
|
||||
background: white;}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
|
Loading…
Reference in New Issue
Block a user