Describe the bug
In v0.28.0, the contents of a TopBottomPanel on top are now shifted downwards by 2px, and vertical separators start 2px below where they should, leaving a gap. This can be clearly seen in the egui.rs demo:

For a bottom panel, it's somewhat opposite--items are shifted upwards, and while separators don't leave a gap at the bottom, they do extend too far into the top (note the overdraw between the vertical separator and the horizontal line above:

I believe this may have been caused by #4351, but don't quote me on that.
To Reproduce
Steps to reproduce the behavior:
- Create an egui app
- Add a
TopBottomPanel
- Add a button to it
- Add a vertical separator to it
- Observe that the elements are off-center
Expected behavior
Vertical separators should span exactly the height of the panel, and elements with a height of interact_size.y should appear centered.
Describe the bug
In v0.28.0, the contents of a
TopBottomPanelon top are now shifted downwards by 2px, and vertical separators start 2px below where they should, leaving a gap. This can be clearly seen in the egui.rs demo:For a bottom panel, it's somewhat opposite--items are shifted upwards, and while separators don't leave a gap at the bottom, they do extend too far into the top (note the overdraw between the vertical separator and the horizontal line above:
I believe this may have been caused by #4351, but don't quote me on that.
To Reproduce
Steps to reproduce the behavior:
TopBottomPanelExpected behavior
Vertical separators should span exactly the height of the panel, and elements with a height of
interact_size.yshould appear centered.