diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index e66d30cd38e9..d061a480d908 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -137,16 +137,6 @@ SvxBorderTabPage::SvxBorderTabPage(vcl::Window* pParent, const SfxItemSet& rCore
get(m_pMergeAdjacentBordersCB, "mergeadjacent");
get(m_pRemoveAdjcentCellBordersCB, "rmadjcellborders");
- //tdf#99963, we need height-for-width support here, but for now we can
- //bodge it
- Size aPrefSize(m_pRemoveAdjcentCellBordersCB->get_preferred_size());
- Size aSize(m_pRemoveAdjcentCellBordersCB->CalcMinimumSize(36*approximate_char_width()));
- if (aPrefSize.Width() > aSize.Width())
- {
- m_pRemoveAdjcentCellBordersCB->set_width_request(aSize.Width());
- m_pRemoveAdjcentCellBordersCB->set_height_request(aSize.Height());
- }
-
if ( GetDPIScaleFactor() > 1 )
{
for (short i = 0; i < aBorderImgLst.GetImageCount(); i++)
diff --git a/cui/uiconfig/ui/borderpage.ui b/cui/uiconfig/ui/borderpage.ui
index 29b810cf026e..c783d268396a 100644
--- a/cui/uiconfig/ui/borderpage.ui
+++ b/cui/uiconfig/ui/borderpage.ui
@@ -103,8 +103,22 @@
-
+
+
+ Remove border
True
True
False
@@ -113,7 +127,7 @@
0
- 4
+ 5