Undecorator icon indicating copy to clipboard operation
Undecorator copied to clipboard

[Bug] Menubars confuse undecorator

Open LiSongMWO opened this issue 11 years ago • 2 comments

It seems that menubars cause undecorator to barf and fail at determining the correct area to place the decoration: image

The demo projects work as expected. I tried to just swap the fxml file to mine in the demo project and comment out any lines that causes failures at startup. It still renders as above so I believe this to be a bug.

The FXML file that is causing this behavior is here: https://gist.github.com/EmilyBjoerk/1488e748c89be75e8bee

LiSongMWO avatar Apr 23 '14 17:04 LiSongMWO

Hi Emily, For your usage, I recommend to add a padding on top of your border pane, and set some minimal sizes on your main content, such as: menubar

The result will be better: menubarresult

Hope this helps, Arno.

in-sideFX avatar Apr 29 '14 07:04 in-sideFX

I ended up rolling my own frame decoration based on a border pane. It doesn't need this workaround.

2014-04-29 9:44 GMT+02:00 in-sideFX [email protected]:

Hi Emily, For your usage, I recommend to add a padding on top of your border pane, and set some minimal sizes on your main content, such as: [image: menubar]https://cloud.githubusercontent.com/assets/3024670/2826538/fc6e1284-cf71-11e3-8288-b8f2f92a92e9.png

The result will be better: [image: menubarresult]https://cloud.githubusercontent.com/assets/3024670/2826549/05a067a8-cf72-11e3-9b28-46d08e5e1fc5.png

Hope this helps, Arno.

— Reply to this email directly or view it on GitHubhttps://github.com/in-sideFX/Undecorator/issues/6#issuecomment-41649380 .

LiSongMWO avatar May 10 '14 11:05 LiSongMWO