When giving druid a window size (e.g. window_size or with_min_size) what is the expected result? Does that size include OS-styling (title bar and other borders) or is that size meant only for druid-addressable drawing area?
I think having it mean only the addressable drawing area makes the most sense if we want to achieve pixel perfect designs across platforms.
I tested macOS and Windows, haven't looked at Linux yet. On macOS the druid window size does determine the drawing area :+1: but on Windows the drawing area will be smaller because all the OS borders have to fit within the size constraints. :confused:
I think it is possible to change the behavior on Windows, perhaps with AdjustWindowRect and friends.
I just checked and the GTK shell appears to correctly use window size to determine the drawable area size
I think it is easiest to be consistent if 'size' refers to the content size of the window.
Most helpful comment
I think it is easiest to be consistent if 'size' refers to the content size of the window.