Comments (3)
What do you mean by "support for such displays"? SFGUI can already run on high resolution displays as you saw. Upscaling the size of the GUI or the render surface itself from a lower resolution isn't part of the GUI and should either be taken care of by the user (i.e. adjusting the sizes passed to SFGUI) or through SFML by stretching the RenderTarget to fill a larger area.
The fact that the examples don't take into account the resolution of the user's display doesn't mean that it can't be done in general. The examples would run just as poorly if you use a display with a really low resolution.
from sfgui.
Ok, thanks, I'll take a look at it in more detail, I was just reviewing the possible UI toolkits for a tool, and as I saw the examples in that state I thought asking is quicker than looking at the API immediately.
from sfgui.
I got the same issue as integricho : widgets appears very smalls. (SFGUI-0.3.2, SFML-2.4.2 on Win10)
Solved by adding :
SetProcessDpiAwareness(PROCESS_DPI_UNAWARE);
at the start of main.
( The pb seems to be in the use of SetProcessDpiAwareness in SFML, I get the same behaviour if I create a Win32 window before SFML RenderWindow)
from sfgui.
Related Issues (20)
- Can't expand ScrolledWindow children
- No obvious way to prevent window dragging. HOT 2
- sfgui apps crash immediately HOT 9
- Errors while batch build HOT 2
- Better integration in modern workflow HOT 4
- Font doesn't render properly HOT 4
- Trying to use with codeblocks HOT 13
- Update include/SFGUI/Config.hpp Version Information HOT 1
- Clipboard support HOT 1
- Undefined reference while trying to static linking with mingw32 HOT 1
- Sample projects crash when run in debug on Windows HOT 4
- Can't build on macOS 10.15 HOT 1
- Global state HOT 4
- Create The Style Reference
- How can I set the size of a widget or of a button? HOT 1
- Examples are miniature on Mac OS (Retina) HOT 2
- Password cursor moves away from current typing point HOT 2
- feature request: color picker
- Naming of engine's source files
- Problem on RenderBatch.hpp could not be found!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfgui.