Search found 2104 matches

by evstevemd
Wed Feb 13, 2019 10:24 am
Forum: Compiler / Linking / IDE Related
Topic: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found [SOLVED]
Replies: 6
Views: 112

Re: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found [SOLVED]

1. Does it work when you compile stable version?
2. do you really need wx28 compatibilty (see --enable-compat28)?
by evstevemd
Wed Feb 13, 2019 8:10 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 117

Re: Make wxStyledTextCtrl fonts Smooth

So CodeLite looks OK? No, not like I wanted (see the VSCode screenshot) but It have the best looking among Scintilla Editors. Can someone compare the CL and my app and see if there is any difference at all? CodeLite uses wxWidgets for its UI and I believe it also uses its wxSTC as I remember eranif...
by evstevemd
Wed Feb 13, 2019 8:00 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 117

Re: Make wxStyledTextCtrl fonts Smooth

but even sublime text looks the same (see the screenshot). So I believe somemthing is missing in wxWidgets. Is sublimetext using Scintilla? I think one would need to compare scintilla-based editors to make sure the issue is with wxWidgets (Scintilla wrapper)... I see what you are saying. They all l...
by evstevemd
Wed Feb 13, 2019 7:01 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 117

Re: Make wxStyledTextCtrl fonts Smooth

I think it is wxWidgets limitations. I will apply your suggestions on Windows and see what I get.
Meanwhile if anyone knows anything helpful for Mac/Gtk, I would appreciate that!
by evstevemd
Wed Feb 13, 2019 6:59 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 117

Re: Make wxStyledTextCtrl fonts Smooth

As doublemax said, VSCode is an Electron app, so all its UI is rendered by a web browser (chromium). I see! How do other Scintilla-based applications look, e.g. SciTe and Notepad++? Not so different from mine. I checked Notepad++, Komodo Edit, Zerobrane, and CodeLite. Here is a screenshot of the sa...
by evstevemd
Wed Feb 13, 2019 6:51 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 117

Re: Make wxStyledTextCtrl fonts Smooth

The font weight of the VS version just looks a tiny bit higher I saw that and though may be its bold. But then I found in settings its regular. But VS is Chrome based, maybe Chrome has its own font rendering engine. It might be. but even sublime text looks the same (see the screenshot). So I believ...
by evstevemd
Wed Feb 13, 2019 6:37 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 117

Re: Make wxStyledTextCtrl fonts Smooth

doublemax wrote:There is a method to enable ClearType under Windows using wxFont::Get/Set NativeFontInfoDesc()
viewtopic.php?f=23&t=21733

Maybe try that and check if it looks better to you.

Thank you. I will definitely try that!
by evstevemd
Wed Feb 13, 2019 6:37 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 117

Re: Make wxStyledTextCtrl fonts Smooth

doublemax wrote:Your version is definitely anti-aliased.

fontszoomed.png

:D :D :D
So what might be making the difference?
by evstevemd
Wed Feb 13, 2019 6:35 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 117

Re: Make wxStyledTextCtrl fonts Smooth

Assuming you are using wxWidgets 3.1.1+ on MSW, have you tried SetFontQuality() with SetTechnology(wxSTC_TECHNOLOGY_DIRECTWRITE)? See this commit https://github.com/wxWidgets/wxWidgets/commit/9554f878b2c7b6640093d985fedb63ad9647da0a I currently develop on Mac. But will setup on Windows and test tha...
by evstevemd
Wed Feb 13, 2019 5:15 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 117

Make wxStyledTextCtrl fonts Smooth

How can I make fonts in wxStyledTextCtrl as smooth as other editors (Like Sublime Text or VSCode)? Here are the two screenshots one of my app and another for VSCode. Obviously mine isn't as smooth as VSCode (both opening same file, font size being 14). Checking wxFontInfo I see: wxFontInfo& wxFo...
by evstevemd
Tue Feb 12, 2019 4:20 am
Forum: C++ Development
Topic: wxTextCtrl EVT_TEXT_ENTER
Replies: 8
Views: 128

Re: wxTextCtrl EVT_TEXT_ENTER

textctrl1 should respond to Enter event as you want. However, tectctrl2 is a multiline control so enter will add a new line instead
by evstevemd
Fri Jan 04, 2019 3:06 pm
Forum: C++ Development
Topic: How to set the process name?
Replies: 3
Views: 103

Re: How to set the process name?

How does that 3rd party related to yours.
Do you launch any 3rdparty executables?
by evstevemd
Sun Sep 09, 2018 5:50 pm
Forum: C++ Development
Topic: wxDataViewTreeCtrl different icons for expanded and collapsed item
Replies: 3
Views: 428

Re: wxDataViewTreeCtrl different icons for expanded and collapsed item

Thanks DM,
let me test it and see if there is any side effect.
I will then report the bug to tracker!
by evstevemd
Sat Sep 08, 2018 8:17 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl different icons for expanded and collapsed item
Replies: 3
Views: 428

wxDataViewTreeCtrl different icons for expanded and collapsed item

I have lived with this problem for many years now without bumping a solution. It have become annoyance to my application. How can make AppendContainer show different icons? Here is the code I use: mTree->AppendContainer(parentNode, nodeName, iconClosed, iconOpen, data); But it always shows iconOpen ...
by evstevemd
Tue Jun 19, 2018 8:57 pm
Forum: The Code Dump
Topic: wxVLC - a wxWidgets VLC Media Player
Replies: 7
Views: 2464

Re: wxVLC - a wxWidgets VLC Media Player

tomay3000 wrote:in the first post I updated the previous link

Oh! I see. Thanks

Go to advanced search