css - How can i set style to QLayout -


i'm trying add stylesheet script using css, looks fine can't set style qlayout. how can change it's background color example of i'm done.

def main_style(self):     self.setstylesheet("""         .qvboxlayout{             background-color: #616161;         }          .qmenubar{             background-color: #212121;             color: #f5f5f5;          }          .qmenu{             background-color: #212121;          }          .qtextedit{             background-color: #424242;             color: #f5f5f5;             border: 1px #9e9e9e solid;         }         """) 

the program running no errors , changes happen except qvboxlayout it's still default


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -