PDA

View Full Version : Inneroffset for window elements



Ken L
September 1st, 2018, 01:35
Inneroffset states that it's for the window resize handle.



<insideoffset > ... </insideoffset> A comma separated list of four numbers specifying the left, top, right and bottom offsets applied when displaying the window resize arrows. If not specified, zero will be used for each offset.


Is that it? I was hoping I could have a padding enforced at the frame level to push all windowcontrol elements in x/y of the determined inner rectangle.

The taxing way is to literally change every window definition to add manual padding.

A common use case of this is to put the 'meat' of the frame's elements in the center 9 patch.

Moon Wizard
September 1st, 2018, 22:08
Yes, that’s all it’s for.

I’ve considered default margins for framedef references; as well as supporting window class margins. However, these have not been implemented. They’re still on my consideration list for new versions, but have knock on effects in the code requiring extra work and later porting for FGU.

JPG