Customizing uneditable text fields

Discuss here any questions about the WebLaF library.
Bugs can be posted directly to GitHub issues tracker.

Customizing uneditable text fields

Postby lorenzo » Wed Apr 08, 2015 2:19 pm

Hello,
I was wondering if there is some setting to customize the rendering of uneditable text fields.
Older Substance versions showed a small lock in a corner of the field, which looked nice and helped distinguishing uneditable fields.
Thanks,

Lorenzo
lorenzo
 
Posts: 3
Joined: Mon Mar 23, 2015 5:27 pm

Re: Customizing uneditable text fields

Postby mgarin » Sat Apr 18, 2015 1:30 am

Sorry for the long delay, unfortunately I am not able to track forum due to mailing issues. So I might miss some posts here. GitHub issues tracker is much more reliable and convenient right now.

Anyway, on the question:
So far non-editable fields indeed aren't visually distinguishable, but you can provide some leading or trailing component or simply use an overlay which will be displayed when field is not enabled/editable. It is an additional code, yes, but it should do the trick.

Later on I will certainly improve field visuals to add feedback for the case it isn't editable.
User avatar
mgarin
Site Admin
 
Posts: 223
Joined: Mon Apr 16, 2012 1:01 pm
Location: Russia, Saint-Petersburg


Return to Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron