Hi! Thank you for the demo.
Reason of the issue – your gridpanel is not skinned.
Try to add “TGridPanel” as “Panel” in the sSkinManager1.ThirdPartyList. Look the screenshot.
I still have a problem though.
When I insert a TGridPanel in a colored panel, the TGridPanel appears as it adopts the standard color of the current skin (which is Windows 11 dark in the attachment). Could it be transparent? Is there a way to solve the problem (programmaticaly?) ?
I think, Parent panel should be skinned too.
If this parent panel will have changed color then children will have it too.
I can change a test project if you upload it.
Hi
Here is a sample program to show you what the problem is.
I define custom sections (in the common sections) which I use for one panel and one button.
The TGridPanel is placed on the panel that uses a custom section. This grid is black but it should be red as the panel.
The button placed in the grid has not rounded corners as I hoped it would have.
I hope my explanations are clear, but maybe the code will be clearer 🙂