Marlon Nardi Posted May 4, 2022 Share Posted May 4, 2022 8 hours ago, artem_niko said: Ok...maybe this is bug in UniFSComponents from @Marlon Nardi. Need comment from him. 1. UniServerModule -> CustomCSS: .wordwrapbtn .x-btn-button { white-space: normal; text-align: center; } 2. UniButton -> ClientEvents -> UniEvents -> function beforeInit: function beforeInit(sender, config) { config.cls='wordwrapbtn' } Using the CSS proposed by @Sherzod both components work as expected (UniFSButton and UniButton). Maybe you have some other CSS file, which is conflicting, check if you are not using any css bootstrap class, it usually does that. A tip, whenever you have this kind of problem, create a simple project to do these types of tests, without dependencies. 🤜🤛 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.