diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/edit.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 6ecbb32689fd..f274eca3f581 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -203,6 +203,11 @@ bool Edit::set_property(const OString &rKey, const OUString &rValue) } else if (rKey == "placeholder-text") SetPlaceholderText(rValue); + else if (rKey == "shadow-type") + { + if (GetStyle() | WB_BORDER) + SetBorderStyle(rValue == "none" ? WindowBorderStyle::MONO : WindowBorderStyle::NORMAL); + } else return Control::set_property(rKey, rValue); return true; |