Jump to content

UniDbGrid readonly CheckBoxes very pale


dpfmp

Recommended Posts

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

 

 

 

 

ReadOnlyFalse.png

ReadOnlyTrue.png

  • Like 1
Link to comment
Share on other sites

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;
}

 

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

  • 3 months later...

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

image.png.86764043b8b0ce2b530a4a68b2f697b7.png

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...