is it possible to append stylesheet into existing stylesheet?
-
Hey guys can I use stylesheet like this?
. └── centralWidget └── child_widget ├── ... ├── ... └── framein
centralWidgetput something like#frame { background-color: #ffffff; }and in
child_widgetsomething like#frame { border-radius: 10; }does it work and the targeted widget will have both
background-colorandborder-radiusor it will be replaced with the new stylesheet? -
Hey guys can I use stylesheet like this?
. └── centralWidget └── child_widget ├── ... ├── ... └── framein
centralWidgetput something like#frame { background-color: #ffffff; }and in
child_widgetsomething like#frame { border-radius: 10; }does it work and the targeted widget will have both
background-colorandborder-radiusor it will be replaced with the new stylesheet?@saeid0034 said in is it possible to append stylesheet into existing stylesheet?:
it will be replaced with the new stylesheet?
The function to set a stylesheet explicitly is called
setStylesheet... It sets the given style... previous styles (style changes) are lost.But there are inherited styles (cascading by parent). Read here: