I had to fix something in a 20-years-old Delphi 7 application. After the fix, I thought I would improve the application by fixing the GUI theme, so I dropped the XPManifest component on the main form. Although this gave most controls a better look, there were some problems. For example, there are checkboxes and radio buttons with yellow text on blue background (blargh), and the black text color set by the theme rendered their labels unreadable. So I decided to delete the XPManifest component and rebuild the program to get back the original look.
Interestingly, the GUI theme remained after deleting XPManifest and recompiling the exe. I checked the DFM, and the XPManifest is really not in there. How can I fix this?
All the component does is add a unit to the uses clause, XPMan IIRC, that links a resource file enabling themes. Remove that unit from the uses clause to revert the behaviour.
This is a clear indication of the value of revision control.
The VCL was simply not very theme-aware way back then. A lot of VCL components exhibit bugs when theming is enabled, but not when disabled. Install Soft-Gems' XP Theme Manager 1 into your project. Not only does it enable theming for you, it also hooks into the VCL to fix a lot of the bugs, too.
1: Soft-Gems' code was eventually incorporated directly into the VCL, but I don't recall if that happened in Delphi 7 or if it was later.
Related
Sorry for maybe stupid question.
In WinUI 2 Gallery on reveal focus there is amazing effect on mouse over, is something like this in WinUI 3?
I tried to google, but it gives me nothing...
In WinUI3, RevealBackgroundBrush is no longer supported, and there is no related content in the Microsoft.UI.Xaml.Media Namespace.
In the document of RevealBackgroundBrush
RevealBackgroundBrush is available for use in the operating systems
specified in the Requirements section. However, we do not recommend
its use as it may be altered or unavailable in subsequent versions.
I think this should be the reason why RevealBackgroundBrush disappeared in WinUI3.
When I work on documents, I like to toggle to markdown preview frequently (old habit from MS Word days) or have the preview shown in a split window. What I've found is that the preview does not track the location that is in view in the editor, so I have to scroll down every time I check. If working in split window mode, the preview does not keep up and thus I have to keep scrolling that to catch up. This makes what should be an amazing workflow a bit of an irritation and it gets old very quickly.
I am considering switching editors because of it. But before I do that, I am hoping that perhaps someone out there knows of a way to pin the markdown preview to the current file location (locked scrolling, plugin, etc.) Thanks!
*** EDIT:
Ended up not switching, but found a plugin called Instant Markdown that launches a web preview of your document and renders it in real time. While it too does not track location through auto-scroll, it is much more pleasant to work with I have found, since I can move it around, even on another monitor and can thus keep much more of the render in view at once. This is a partial answer to the issue and I am no longer actively seeking the auto-scroll technique since I much prefer this technique for WYSIWYG.
Unfortunately, according to this issue #5047, the feature you are requesting is still under development
In case you didn't switch editors yet, this feature milestone is set to January 2017, i.e. we can hope that it will be done soon
I'm in a pickle. I've designed a Joomla 2.5 site, which I have locally installed. I typically equip my installations with JCE editor for my clients, but at design time, operate in HTML mode. When all the content was in, I decided to test WYSIWYG mode to make sure nothing went awry. Unfortunately, something did. Observe the lack of spaces:
Very interesting that the problem occurs ONLY when saving from WYSIWYG view.
At first I thought JCE was malfunctioning (although the editor itself continued to show spaces), so I tried reinstalling. Then I tried other editors -- CKEditor and TinyMCE. The same symptoms manifested with them as well.
Trying to isolate the problem, I checked the database after pasting in clean markup in HTML view, and again after saving in WYSIWYG view. This is the result:
So, based on the database field, it would appear that the process of saving, in either HTML or WYSIWYG view is working properly... But then why is the output being fed to the browser different depending on which method was used to edit?
So far I've checked entity encoding, CSS (although it's obviously not a CSS issue), and tried installing on another local server. No changes in behavior.
I could really use some suggestions.
Thank you in advance for your help.
Z
PS: This is the latest version of Joomla (2.5.6), running on Apache.
When we typed some text continually this issue was occurred. Actually this was not the issue this problem was solved by using correct css style for that division.
<style type="text/css">#divid {width:750px;word-wrap;break-word;"}</style>
You have to use this css style for your division . Surely this ll resolve that problem...
I need to edit the original icons from Thunderbird's Default Theme by Arvid Axelsson.
Does Mozilla provides an SVG version?
I need to know the style of the icons, because they're really specific (inner-shadow etc). It's not a simple -moz-effect (CSS). Does anybody know where to find or download the real skin-source or how to view files inside chrome://global/skin?
There are actually three default themes - Windows, Linux and Mac OS X. You seem to be talking about the Windows theme which is indeed being attributed to Arvid Axelsson even though he doesn't seem to be working on it (looks like he created the theme around Thunderbird 1.0 and other people took over since).
Looking at the source code repository, the icons are there but their source code isn't. I also checked the bugs associated with icon changes and the source code of these icons indeed doesn't seem to be public. Which means that the only way for you would be contacting the person who designed the icons. That would be Andreas Nilsson, click his name in bug 671236 to send him a mail.
As much as I love Netbeans for Ruby programming the traditional white background and drab color coding leave me with Textmate envy.
Is there any solution to this in the absence of buying a Mac?
Dark color schemes in NetBeans
Aloha Color Theme
Google netbeans color schemes
there is a plugin called Extra color themes:
Additional editor color themes designed for use with the Ruby file types in NetBeans. The 'Dark Pastels' theme was designed by Jerrett Taylor. The 'Aloha' theme was created by Mike McKinney (http://huikau.com)
did you tried it?
I use the Dark Psstels theme from the Extra Ruby Color Themes plugin. Be advised, though, that NetBeans only allows you to style the editor, the rest of the IDE will still look as butt-ugly as it did before. (Pardon my French.)
If you want to change that, you will have to change the entire Swing Look&Feel. There are also some plugins which do that, but they are mostly for testing. (There is one which switches NetBeans to the Napkin LAF, which as the name implies makes everything look like it's scribbled on a napkin. This is very useful if you use the NetBeans Application Platform to build your own NetBeans-based applications (does anybody do that?), but otherwise pretty useless.)
Note that this isn't much of a problem if you maximize the editor and put NetBeans in fullscreen mode.