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
Post a Comment