Alexandre Storti Posted May 9 Share Posted May 9 How do I make the TUniFileUploadButton round like the other buttons in the attached image? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 9 Share Posted May 9 Hello, 1 hour ago, Alexandre Storti said: How do I make the TUniFileUploadButton round like the other buttons in the attached image? We don't know how you use CSS. Quote Link to comment Share on other sites More sharing options...
Alexandre Storti Posted May 9 Author Share Posted May 9 (edited) servermodule_customcss_userdef.css: .Btn_Redondo { raio da fronteira : 50% ; borda : 0 ; preenchimento : 0 ; cursor : ponteiro ; transição : fundo 0,5s de facilidade de entrada ; cor branca ; família de fontes : Arial , sem serifa ; } btnFotos.JSInterface.JSCall(' addCls ', [' Btn_Redondo ']); I'm using it like this. Should this work this way or is something missing? Edited May 9 by Alexandre Storti Translate to english Quote Link to comment Share on other sites More sharing options...
Norm Posted May 9 Share Posted May 9 I don’t think javascript understands Portuguese Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 10 Share Posted May 10 4 hours ago, Norm said: I don’t think javascript understands Portuguese 🙂 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 10 Share Posted May 10 10 hours ago, Alexandre Storti said: .Btn_Redondo { Use instead: .Btn_Redondo .x-btn { Quote Link to comment Share on other sites More sharing options...
Alexandre Storti Posted May 10 Author Share Posted May 10 Good morning. I made the changes as indicated but the TUniFileUploadButton did not have a circular shape. Could I have done something wrong? In other words, I want the UniFileUploadButton to be in a circular format, what is the best way to do this? CustomCSS: Btn_Redondo.x-btn { border-radius: 50%; border: 0; padding: 0; cursor: pointer; transition: background 0.5s ease-in-out; color: white; font-family: Arial, sans-serif; background: rgb(15, 36, 65)!important; } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 10 Share Posted May 10 8 minutes ago, Alexandre Storti said: Btn_Redondo.x-btn .Btn_Redondo .x-btn Please pay attention to dots and spaces. Quote Link to comment Share on other sites More sharing options...
Alexandre Storti Posted May 10 Author Share Posted May 10 Sorry for my difficulty in understanding. I believe I did the review but it hasn't had any effect yet. I send an image of the source code and css to try to improve visualization. Quote Link to comment Share on other sites More sharing options...
asapltda Posted May 10 Share Posted May 10 +1 Good morning doesn't work for me either, as used in 1. frame, form, movile Thank you Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 10 Share Posted May 10 @Alexandre Storti @asapltda Can you make a simple testcase to check? Quote Link to comment Share on other sites More sharing options...
Alexandre Storti Posted May 10 Author Share Posted May 10 I made a test app, and it worked perfectly on it. The difference I found was the property 'ButtonVisible,' when it's 'false,' it doesn't work. So I understand that the whole problem was only this: the 'ButtonVisible' must be 'true'. Thank you very much for your help. 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.