DudeAwesome Posted March 5, 2014 Posted March 5, 2014 Is it possible to get a function to get the resolution of a window? like System:Print(App.window:GetSize()) Console: Vec2(1024, 768) I dont like to save the w/h values from Window:Create() for each window Quote It doesn´t work... why? mhmmm It works... why?
AggrorJorn Posted March 5, 2014 Posted March 5, 2014 You can use context->GetHeight() or window->GetClientHeight(). And of course also for width. Quote
DudeAwesome Posted March 5, 2014 Author Posted March 5, 2014 ähm why you know this and why this is not in the documentation or I´m blind again? Quote It doesn´t work... why? mhmmm It works... why?
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.