XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
SOLVED: Use a more modern rendering engine for HTML Panel https://www.bbs.xwidget.com/viewtopic.php?f=8&t=6034 |
Page 1 of 1 |
Author: | Dr_Xadium [ November 6th, 2015, 1:22 pm ] |
Post subject: | SOLVED: Use a more modern rendering engine for HTML Panel |
So, we all know HTML panel is screwed over by being stuck with the IE7 rendering engine, right? Not any more ![]() It turns out you can control what HTML rendering engine a given Windows app uses via the registry. (Tested on Windows 10) (Instructions adapted from here): There are one or two keys you have to add to, depending on if you use a 64 bit or 32 bit machine. I used both: 32 bit only or 64 bit: Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION Make a new 32 bit DWORD Value, name it xwidget.exe Right click in the Data column of that value and make a Decimal value of 9999 (This makes xwidget use the IE9 renderer, I dunno the codes for 10 or 11 yet) Then go to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION And repeat the process. This key may not be there on 32 bit systems and that's fine you can skip the step. No reboot is needed. Restart Xwidget and BAM! It runs the IE9 renderer. EDIT: The code for IE 11 / Edge is 11001 and I can confirm it works. (taken from here). If Tony ever updates the app, adding those keys in to the registry at at least 9999 should really improve things. |
Author: | yereverluvinuncleber [ November 9th, 2015, 11:38 am ] |
Post subject: | Re: SOLVED: Use a more modern rendering engine for HTML Pane |
Very good Meme. |
Author: | digigamer [ April 1st, 2016, 2:09 am ] |
Post subject: | Re: SOLVED: Use a more modern rendering engine for HTML Pane |
The values are as follows: IE7 : 7000 IE8 : 8000 IE9 : 9000 IE10 : 10000 IE11: 11000 Make sure that you have a !DOCTYPE declaration at the start of your HTML file. Else you will be again into the shitty ie7 world. Adding 1 to the emulation constant ( 11001 in place of 11000) enforces browser version regardless of doctype. But that might break existing widgets |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |