X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=ede;a=blobdiff_plain;f=libede%2Fsrc%2FFileSystemBox.ec;h=8842cf1b965abf9a75025b71589d19e5445b0ccd;hp=36edd05f4b2adf7bf82cffd17fb21f05a7410c91;hb=9e16f30612eb73393d7fde121037b1546c98c22b;hpb=bc25e0084823e36a8403b14a96985459328cbe3c diff --git a/libede/src/FileSystemBox.ec b/libede/src/FileSystemBox.ec index 36edd05..8842cf1 100644 --- a/libede/src/FileSystemBox.ec +++ b/libede/src/FileSystemBox.ec @@ -281,6 +281,11 @@ public: split.leftPane = value ? list : null; split.visible = value; show.visible = value; + if(!value) + { + list.parent = this; + list.anchor = Anchor { left = 0, top = 0, right = 0, bottom = 0 }; + } } get { return bits.preview; } };