Theme designer/browser render vs VS form design time, more preview options ?

0
0

Hi,

Researched on a simple example why bottom outer shadows from a theme applied to a button do not appear in the VS Forms designer and are clipped at the bottom. I now understand they are hidden by the bounds of the control reading another post (unless something has changed since).  I have some very specific theme work to do based on another applications CSS, and although this theme looks right at runtime, it would be nice to be closer to WYSIWYG in the designer.

If the theme designer can render the custom CSS shadows etc, could in future there be an adjustable option  to allow the controls to be transformed to the same state in VS and spill out of the bounds if needed, or is this a VS limitation?

This way you can see all of your stacked pre-execution styling from various sources,  something you would toggle on and off depending on the design goal at the time, perhaps 3 options, show designer control bounds and applied styling,  show bounds no styling,  show styling no bounds.

Post from 2017 below:

https://wisej.com/support/question/cssclass-property-for-a-usercontrol-apply-css-code-to-a-usercontrol-element-inside-it

“When in design mode the rotation (or CSS) only affects the rendering, not the bounds of the control since it needs to have the correct Location and Size properties. If the rotation causes the rendering content to be outside of the rectangle it will show at runtime but not at design time because of the clipping region.”

Thanks

C

 

 

Attachment
  • You must to post comments
0
0

Hi Chris,

We don’t have plans to implement additional preview options at the moment.

I will add this as an enhancement request though, perhaps we can include it in our roadmap for Wisej.NET 4.

Best,
Alaa

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.