tdf#115057 Never use ImplPopupFloatWin for anything except ToolBox
commit829b0564959411d0cc64169fe69153a714050c0d
authorMaxim Monastirsky <momonasmon@gmail.com>
Wed, 17 Jan 2018 19:08:59 +0000 (17 21:08 +0200)
committerMaxim Monastirsky <momonasmon@gmail.com>
Thu, 18 Jan 2018 20:49:08 +0000 (18 21:49 +0100)
treef23b32a702fdba903c0ae7153c1f0ab833a743d1
parentfa68bed11c180ebb0d45fb7779d538098b2921ff
tdf#115057 Never use ImplPopupFloatWin for anything except ToolBox

ImplPopupFloatWin draws the window title and frame directly on the client
window, which is incompatible with .ui layouts, as they try to occupy the
whole available space. Instead just use a plain FloatingWindow whenever
possible, and change the border window code to mimic the behavior of
ImplPopupFloatWin, wrt removing part of the frame of toolbar popups w/o a
title.

Change-Id: If72ea89e31f913470faad7fcb8083f9b9787c9a8
Reviewed-on: https://gerrit.libreoffice.org/48094
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
vcl/source/window/brdwin.cxx
vcl/source/window/dockmgr.cxx
vcl/source/window/floatwin.cxx