elGringo Posted April 5, 2017 Share Posted April 5, 2017 Alignig panels on mainform, but viewing magic spaces - how to avoid them (see pics)? used margins 0 -10 0 0 but no effect it must be simple - but have no idea except margins how to fix it (( also - wanted to do sticky top menu - I think to handle on scroll browser event - is it correct how do you think? to set top:=0 on scroll to pHeader in test case TestCase https://yadi.sk/d/KrpRtzdo3GgVmZ Quote Link to comment Share on other sites More sharing options...
elGringo Posted April 5, 2017 Author Share Posted April 5, 2017 set to pHeader LayOutConfig 100% and whitespace from the right disappeared, but other ones still on th place Quote Link to comment Share on other sites More sharing options...
mhmda Posted April 5, 2017 Share Posted April 5, 2017 This is not 'Magic' spaces it's the border of Window/Panel, you can use css to override this behavior or use 'border' = None from design view. Quote Link to comment Share on other sites More sharing options...
elGringo Posted April 5, 2017 Author Share Posted April 5, 2017 hello, Mohhamed! but i already have BorderStyle=None Quote Link to comment Share on other sites More sharing options...
elGringo Posted April 5, 2017 Author Share Posted April 5, 2017 set pFooter align to alNone - and disappeared for pFooter Quote Link to comment Share on other sites More sharing options...
mhmda Posted April 5, 2017 Share Posted April 5, 2017 Here you go: MainForm->Unievents: function window.beforeInit(sender, config) { config.baseCls='frmNoBorderRadius'; config.cls='frmNoBorderRadius'; } CSS: .frmNoBorderRadius { border-radius: 0px !important; border: none !important; } .x-css-shadow { -webkit-box-shadow: none !important; -moz-box-shadow: none !important; box-shadow: none !important; } Result: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.