reepblue Posted April 3, 2023 Share Posted April 3, 2023 The last update broke my app. I'm forced to use WINDOW_TITLEBAR for my UI application for the time being. I bet this relates to you improving the scaling with the editor. It breaks with 100% scaling. This example should reproduce the error as falling back WINDOW_TITLEBAR "fixed" it. #include "UltraEngine.h" using namespace UltraEngine; int main(int argc, const char* argv[]) { //Get the display auto displays = GetDisplays(); Vec2 displayscale = displays[0]->GetScale(); //Create a window auto window = CreateWindow("Example", 0, 0, 600 * displayscale.x, 600 * displayscale.y, displays[0], WINDOW_DEFAULT); //Main loop while (window->Closed() == false) { if (window->KeyDown(KEY_ESCAPE)) break; } return 0; } Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
reepblue Posted April 3, 2023 Author Share Posted April 3, 2023 Updated the code above to reflect my issue. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Solution Josh Posted April 3, 2023 Solution Share Posted April 3, 2023 Okay, I think I fixed. This is how it's supposed to appear, correct? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
reepblue Posted April 3, 2023 Author Share Posted April 3, 2023 That does look a lot better as the window stretched above my monitor height. I can't say "it's exactly how it was before" without trying it on my machine with my app. The window does look bigger than expected in that screenshot, but it could be a few things going on. Thanks for the quick response. 🙂 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Josh Posted April 3, 2023 Share Posted April 3, 2023 I'm using 125% scaling, so everything looks 25% bigger when I post a screenshot. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
reepblue Posted April 3, 2023 Author Share Posted April 3, 2023 1 hour ago, Josh said: I'm using 125% scaling, so everything looks 25% bigger when I post a screenshot. Ok, should be good then. Couldn't tell if you scaled the dpi down to test it or not. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.