Css style does not apply after switching stack children

Hi, I’m using gtkmm4, and my app has a Gtk::Stack which shows different children.
The first visible child is shown correctly, but the other children show without css styling until I click the screen.
I tried chaining the order of the displayed children, it’s always the same:
The first child that is displayed has style, the others don’t.
Can anyone suggest a solution?

I’m sorry, but there isn’t nearly enough context to give you an answer.

What kind of CSS style are you applying? Are you overriding some virtual function? What are your expectations? Could you provide a screenshot of what kind of results you have, and the expected ones?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.