Hi again, I tried it with setEditable(false). it didn't work.
If anyone knows how i can change the style of a readonly field, please let me know. Thanks. On Jan 13, 1:29 pm, barraQda <[email protected]> wrote: > Hi Nicole; > > try setEditable(false) with readonly > > On Jan 12, 5:19 pm, Nicole <[email protected]> wrote: > > > > > Hi again, > > > I just tried the ComboBox as readonly, but it didn't work as desired. > > The selected value can still be changed. It is readonly just as we > > cannot type into it, but it is still "editable". > > > Any idea how i can change that? > > Thanks > > > On 9 Jan, 09:52, barraQda <[email protected]> wrote: > > > > Hi Nicole, > > > > I am sorry I dont know anything about css. I also glad to hear its > > > solution. But in case you do not find your answer, I wanted share my > > > opinion. If I want to use a field that should be disabled and I want > > > its value seen clearly. I use setReadOnly(true) instead of disabling > > > it. Also with this way, the value can be selected and copied. > > > > On Jan 7, 6:03 pm, Nicole <[email protected]> wrote: > > > > > Hi, > > > > > I am using gwt-ext and have ComboBoxes and TextBoxes in several > > > > different screens of my application. However, i need to change the > > > > font color when the fields are disabled since they are very light. How > > > > can I do that? I have tried changing some things in the xtheme- > > > > silvercherry.css file (since that is the stylesheet i'm using), but > > > > i'm not sure i'm changing the right things since nothing is giving an > > > > effect. > > > > > Can anyone please suggest a solution or help me with an explanation? > > > > Thanks in advance. > > > > > Regards, > > > > Nicole- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
