User forums > Help
Some UI text still very small on HiDPI display
ctag:
I grabbed the 20.03 source and built it just to make sure I'm able to, and it appears to have worked. So if I can test any changes, let me know!
oBFusCATed:
You can try building against wx-trunk/wx-master/wx-main to see if the new version of wx has fixed something.
Probably most of these are wx problems, but I have to spend time to debug them. It is not the top priority currently, so I don't know when I'll do it.
ctag:
Thanks. I understand it's not a priority. In the meantime I learned how to build against wxGTK2, and the UI has readable text for the time being :)
I don't really know what I'm doing here, but I downloaded wxwidget 3.1.4 (https://github.com/wxWidgets/wxWidgets/releases/tag/v3.1.4) and compiled it to /opt/wxwidget-devel/
And then tried to compile codeblocks against it with './configure --with-wx-config=/opt/wxwidget-devel/bin/wx-config --prefix=/opt/cb-wx314'
And got this error:
--- Quote ---main.cpp: In member function ‘bool MainFrame::OnDropFiles(wxCoord, wxCoord, const wxArrayString&)’:
main.cpp:2682:22: error: ‘wxPaintEvent::wxPaintEvent(wxWindowBase*)’ is private within this context
2682 | wxPaintEvent e;
| ^
In file included from /opt/wxwidget-devel/include/wx-3.1/wx/wx.h:24,
from /opt/wxwidget-devel/include/wx-3.1/wx/wxprec.h:42,
from ./sdk_common.h:24,
from ./sdk_precomp.h:13,
from ./sdk.h:17:
/opt/wxwidget-devel/include/wx-3.1/wx/event.h:2379:14: note: declared private here
2379 | explicit wxPaintEvent(wxWindowBase* window = NULL);
| ^~~~~~~~~~~~
--- End quote ---
I'll keep poking around at it when I have some time, but I'm not sure what to make of what I'm seeing right now.
Miguel Gimenez:
That error was solved removing the event and the related code. I recommend using revision 12213 for your tests.
ctag:
Thanks Miguel!
I checked out trunk and built with wx-3.1.4 and it appears to have fixed the small text!
I'm going to try to make a fake package for my system to have this version installed until the next release is available.
--- Quote ---Name : Code::Blocks
Version : svn-r12220
SDK Version : 2.4.0
Scintilla Version: 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website : http://www.codeblocks.org
wxWidgets Library (wxGTK port)
Version 3.1.4 (Unicode: wchar_t, debug level: 1),
compiled at Oct 25 2020 23:19:43
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.23.
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version