Page 1 of 1

[WWB 16] Predefined Styles in Cells Properies

Posted: Fri Jun 25, 2021 10:11 pm
by christiaan
1.) Style Manager - General Styles - Add...
2.) Define a Background Color
3.) Create a table
3.) Use the Predefined Style (with background color) in Cell Properties... (NOT Table Properties !) as Predefined Style

Result: Your defined background color is NOT shown in WWB


In my project, created with WWB 14, there are lots (!!) of tables.
Each table cell uses a predefined Style for defining its background color.
By opening the poject In WWB 16, ALL table cells background color are messed up.
How to fix it?

Thanks in advice
Christiaan

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Sat Jun 26, 2021 7:06 am
by Pablo
It seems to be working correct for me.
Can you create a demo project so I can see all the settings?

Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Sat Jun 26, 2021 7:45 am
by christiaan
Thanks for your prompt reply.

WWB 16 does not show the cell background color in this sample project:
http://www.filedropper.com/cellpropertytest

The Predefined Style for CellA:
(Note: The cell is selected, therefore a cell background color is shown)

Image


But WWB16 does NOT shows the predefined background color:

Image

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Sat Jun 26, 2021 9:07 am
by Pablo
I have downloaded your project, but it works for me.
Maybe you have disabled Direct2d rich text rendering in Tools -> Options -> User Interface?

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Mon Jul 05, 2021 4:21 am
by christiaan
Dear Pablo,

WWB 16 does correctly GENERATE html code for pages with tables,
BUT does NOT CORRECTLY SHOW tables with Predefined Styles in Cell Properties !

The sample project
http://www.filedropper.com/cellpropertytest2_1


WWB 16 WORKSPACE (!!) is showing:
Image

The upper cells do NOT USE a Predefined Cell Style, therefore the background color should be red
Image


The lower cells DO USE the Predefined Cell Style "MyStyle" , therefore the background color should be BLUE !!
Image
Image

Result in WWB16 workspace (NOT the generated page in the browser):
The lower table cell backgrounds should be BLUE (!!), but in WWB16 workspace the cell background color is RED !!
Image

Other WWB objects (Layers, Texts, ...) with Predefined Styles are also randomly NOT SHOWN CORRECTLY by WWB16 workspace.

Please fix this table cell bug


BTW: " Direct2d text rendering " is a setting in firefox and has NO EFFECT how WWB 16 workspace is showing tables.

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Mon Jul 05, 2021 6:12 am
by Pablo
I'm sorry, but it works for me.
For me the background color is rendered in the background of the workspace.
I think it is related to your settings.
BTW: " Direct2d text rendering " is a setting in firefox and has NO EFFECT how WWB 16 workspace is showing tables.
This option has nothing to do wit FireFox. It controls how text and tables are rendered in the workspace.

Note that you do not have to SHOUT at me. I have the best intentions to help you. However, if I cannot reproduce the problem then it's difficult to 'fix' it.

This is what it looks like for me:
Image

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Wed Jul 07, 2021 1:35 pm
by christiaan
Dear Pablo,

I'm very sorry that my last posting could interpreded as shouting and I appreciate your best intentions to help us.

WWB 16.4.0 is running on a freshly installed Windows 7 Professional 64bit, *all* recomended Windows updates installed, *no* tweaking done.

Even after hours of researching we could *not* find a way to enable Direct2D rich text rendering in WWB16 - that maybe will be caused for the table background color issue.

Image

DirectX11 installed
Image

DirectX11 functions enabled
Image

How to enable Direct2D rich text rendering in WWB16?

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Wed Jul 07, 2021 1:53 pm
by BaconFries
How to enable Direct2D rich text rendering in WWB16?
You will first need to ensure it is enabled in Windows 7
See the following
How to address issues with WYSIWYG Web Builder and Windows 7?

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Wed Jul 07, 2021 3:11 pm
by Pablo
Unfortunately Windows 7 does not support Direct2d text rendering. That is why the option is disabled. Also, this is most likely the reason why the background is not rendered in tables.
I am sure that if you try it on a Windows 10 computer that it will work.
Microsoft made a lot of improvements in Windows 10 related to text/table rendering.

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Wed Jul 07, 2021 3:26 pm
by BaconFries
Unfortunately Windows 7 does not support Direct2d text rendering.
Pablo if this is not the case then is the link I provided not valid?
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=86373

Re: [WWB 16] Predefined Styles in Cells Properies

Posted: Wed Jul 07, 2021 3:50 pm
by Pablo
This topic is related to Direct2D is general, used for rendering the workspace like images and shapes.
On top of that is "DirectWrite" which is used for (rich) text rendering. Windows 7 does not support rendering rich text via DirectWrite. In that case, WWB falls back to GDI.