anasb Posted August 13, 2017 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
MarkLince Posted August 13, 2017 Posted August 13, 2017 Hi, Why not use Borderstyle property select ubsnone? Regards Mark Quote
Sherzod Posted August 14, 2017 Posted August 14, 2017 HI, I have tried BorderStyle = ubsNone Works? Which version and build are using?! Best regards, Quote
anasb Posted August 14, 2017 Author Posted August 14, 2017 i have find it: Align : alTop that is the problem Quote
araujoadanr Posted September 27, 2018 Posted September 27, 2018 I have the same problem when I have this property. MainForm.AlignmentControl := uniAlignmentClient. Quote
Sherzod Posted September 27, 2018 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
Sherzod Posted September 27, 2018 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
Abaksoft Posted September 27, 2018 Posted September 27, 2018 Hello as ClientMainForm.AlignmentControl := uniAlignmentClient I always use UniContainer Instead of UniPanel. Quote
araujoadanr Posted September 29, 2018 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
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.