• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
1 2 3 4 5 … 11 Next »
Set Window Size - plugin

 
  • 0 Vote(s) - 0 Average
Set Window Size - plugin

edb
Offline

Member

Posts: 135
Threads: 16
Joined: Nov 2022
#4
03-02-2025, 10:23 PM
Hello micheus,

I notice that when I bring the cursor towards the window, it becomes a resize cursor up to about 7 pixels on the left, bottom and right (but not the top, it starts at the title bar).

It might be that the window borders for (some?) apps in recent windows versions is invisible, and setSize sets the size of this window with its decoration, which would have been a thick border in older windows but is now transparent.

It might help to compensate by adding the extra decoration border thickness into setSize, then the window will be a little bit bigger.

The size of the (invisible) border can found with wxSystemSettings::GetMetric() I think:

https://erlang.org/documentation/doc-16-...etMetric/1

Probably wxSYS_EDGE_X and wxSYS_EDGE_Y will contain the information.

https://docs.wxwidgets.org/3.2/settings_...ac6f273cc4
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Set Window Size - plugin - by micheus - 02-20-2025, 07:03 PM
RE: Set Window Size - plugin - by edb - 03-02-2025, 09:53 PM
RE: Set Window Size - plugin - by micheus - 03-02-2025, 10:06 PM
RE: Set Window Size - plugin - by edb - 03-02-2025, 10:23 PM
RE: Set Window Size - plugin - by micheus - 03-02-2025, 10:34 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode