dpfmp Posted December 30, 2018 Share Posted December 30, 2018 Hi, I am mostly using UniDbGrid in readonly mode and in this mode, checkboxes are very pale and can barely be seen compared to when the grid is not in readonly mode. Is there a way using JS to have the checkboxes rendered darker? (see attached PNG showing the differences between readOnly and not ReadOnly ) Thank you, Denis Prince D10.1 UniGui 1.50.0.1483 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 30, 2018 Share Posted December 30, 2018 Hi, One possible solution UniServerModule -> CustomCSS: .x-item-disabled .x-grid-checkcolumn { opacity: 1; } 1 Quote Link to comment Share on other sites More sharing options...
dpfmp Posted December 30, 2018 Author Share Posted December 30, 2018 Hi Sherzod, It works perfectly. Thank you very much! Denis Prince Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted December 30, 2018 Share Posted December 30, 2018 Can you do this with the Edits too? Quote Link to comment Share on other sites More sharing options...
dpfmp Posted January 3, 2019 Author Share Posted January 3, 2019 It would be very nice if we could do this with the UniEdits and the UniComboBox. Can we adjust the opacity for these too? Regards, Denis Prince Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 4, 2019 Share Posted January 4, 2019 On 12/31/2018 at 12:25 AM, eduardosuruagy said: Can you do this with the Edits too? On 1/3/2019 at 8:31 AM, dpfmp said: It would be very nice if we could do this with the UniEdits and the UniComboBox. Can we adjust the opacity for these too? You can try this CSS for "all": .x-item-disabled { opacity: 1; } Quote Link to comment Share on other sites More sharing options...
dpfmp Posted January 4, 2019 Author Share Posted January 4, 2019 Unfortunately, it does not work. All read-only or disabled components are very pale Is there a way specifically for the uniedit or unicombobox like for the .x-grid-checkcolumn ? Thank you again for looking into this. Quote Link to comment Share on other sites More sharing options...
azago Posted May 1, 2019 Share Posted May 1, 2019 I'm using Delphi 10.3 Rio Unigui 1.90.0.1495 I put in ServerModule -> CustomCCSS the following code .x-item-disabled .x-grid-checkcolumn { opacity: 1; } If I configure the table as readonly (UniDBGrid ReadOnly) ichecklists are grayed Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 1, 2019 Share Posted May 1, 2019 20 minutes ago, azago said: If I configure the table as readonly (UniDBGrid ReadOnly) ichecklists are grayed .x-item-disabled .x-grid-checkcolumn { opacity: 1 !important; } Quote Link to comment Share on other sites More sharing options...
dpfmp Posted May 2, 2019 Author Share Posted May 2, 2019 It works. 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.