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'; } 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 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 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, 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 Link to comment Share on other sites More sharing options...
araujoadanr Posted September 27, 2018 Share Posted September 27, 2018 I have the same problem when I have this property. MainForm.AlignmentControl := uniAlignmentClient. 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 ?! Link to comment Share on other sites More sharing options...
araujoadanr Posted September 27, 2018 Share Posted September 27, 2018 Ok.. TestCase2.zip 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 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. Link to comment Share on other sites More sharing options...
araujoadanr 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now