vcl/source/window/builder.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 4d714c1d29b595d617019ea03971dfe0d938d2e0 Author: Caolán McNamara <[email protected]> AuthorDate: Tue Jun 30 20:17:22 2020 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Wed Jul 1 13:06:23 2020 +0200 support has-frame for SpinButtons too Change-Id: Id09ba9fa7bf0130cffd0f40dcfdcf5bdf0bc16b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97598 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index f718f1659b4b..136d1bb048b2 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1934,7 +1934,9 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & { OUString sAdjustment = extractAdjustment(rMap); - WinBits nBits = WB_CLIPCHILDREN|WB_LEFT|WB_BORDER|WB_3DLOOK|WB_SPIN|WB_REPEAT; + WinBits nBits = WB_CLIPCHILDREN|WB_LEFT|WB_3DLOOK|WB_SPIN|WB_REPEAT; + if (extractHasFrame(rMap)) + nBits |= WB_BORDER; if (m_bLegacy) { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
