anasb Posted August 13, 2017 Share Posted August 13, 2017 Hi, I need to remove all borders: my css: .noPanelBorder { border: none; background: none; } my UnitEvents: function beforeInit(sender, config) { config.baseCls='noPanelBorder'; config.cls='noPanelBorder'; } Quote Link to comment Share on other sites More sharing options...
MarkLince Posted August 13, 2017 Share Posted August 13, 2017 Hi, Why not use Borderstyle property select ubsnone? Regards Mark Quote Link to comment Share on other sites More sharing options...
anasb Posted August 13, 2017 Author Share Posted August 13, 2017 I have tried BorderStyle = ubsNone Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 14, 2017 Share Posted August 14, 2017 HI, I have tried BorderStyle = ubsNone Works? Which version and build are using?! Best regards, Quote Link to comment Share on other sites More sharing options...
anasb Posted August 14, 2017 Author Share Posted August 14, 2017 i have find it: Align : alTop that is the problem Quote Link to comment Share on other sites More sharing options...
adan200 Posted September 27, 2018 Share Posted September 27, 2018 I have the same problem when I have this property. MainForm.AlignmentControl := uniAlignmentClient. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 27, 2018 Share Posted September 27, 2018 1 hour ago, adan200 said: I have the same problem when I have this property. MainForm.AlignmentControl := uniAlignmentClient. Hi, Can you make a simple trestcase for this ?! Quote Link to comment Share on other sites More sharing options...
adan200 Posted September 27, 2018 Share Posted September 27, 2018 Ok.. TestCase2.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 27, 2018 Share Posted September 27, 2018 Hi, Can you try to use this approach for now ?!: function form.boxready function form.boxready(sender, width, height, eOpts) { sender.body.addCls('x-docked-noborder-top'); sender.body.addCls('x-docked-noborder-left'); } 1 Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted September 27, 2018 Share Posted September 27, 2018 Hello as ClientMainForm.AlignmentControl := uniAlignmentClient I always use UniContainer Instead of UniPanel. Quote Link to comment Share on other sites More sharing options...
adan200 Posted September 29, 2018 Share Posted September 29, 2018 function form.boxready(sender, width, height, eOpts) { sender.body.addCls('x-docked-noborder-top'); sender.body.addCls('x-docked-noborder-left'); } Works perfect!!! Thank you. 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.