Results 1 to 4 of 4

Thread: Feature request: Editable text fields in color editor

    Success! Looks like we've fixed this one. According to our records the fix was applied for INS-266 in a recent build.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2013
    Posts
    32
    Answers
    1

    Default Answered: Feature request: Editable text fields in color editor

    Not sure if this is the right place to post this or not. I'm using the Sencha Inspector with the fashion tag to modify the theme variables on the app. It is a lot of extra work to have to use the color picker/sliders to modify the color values; since it's displaying them in text fields, would it be possible to have those text fields editable? In particular the hex value field; would be so much easier to be able to copy/paste a value in there instead of setting the R, G, and B fields separately. Thanks!

  2. I have fixed this (sort-of) in our upcoming GA release. You will now be able to edit the value seen in the grid cell, before you open the color-picking popup.

    Part of the problem is that Ext.ux.colorpick.Selector has the fields you mention marked as read-only. In our case, the grid's cell editor is an instance of Ext.ux.colorpick.Field -- which itself creates an instance of Ext.ux.colorpick.Selector for its popup. Therefore there are three layers of indirection between the grid (containing the key/value pairs of variable names/values) and the selection popup -- and I can't change that behavior without major surgery.

    http://docs.sencha.com/extjs/6.0/6.0...rpick.Selector

    Hopefully this improvement is "good enough" for now, but I agree that we should make those inputs editable eventually.

  3. #2
    Sencha Developer
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,516
    Answers
    99

    Default

    Thanks for the request! We have this on our list already, but I've linked this thread to that ticket.

  4. #3
    Sencha Developer
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,516
    Answers
    99

    Default

    I have fixed this (sort-of) in our upcoming GA release. You will now be able to edit the value seen in the grid cell, before you open the color-picking popup.

    Part of the problem is that Ext.ux.colorpick.Selector has the fields you mention marked as read-only. In our case, the grid's cell editor is an instance of Ext.ux.colorpick.Field -- which itself creates an instance of Ext.ux.colorpick.Selector for its popup. Therefore there are three layers of indirection between the grid (containing the key/value pairs of variable names/values) and the selection popup -- and I can't change that behavior without major surgery.

    http://docs.sencha.com/extjs/6.0/6.0...rpick.Selector

    Hopefully this improvement is "good enough" for now, but I agree that we should make those inputs editable eventually.

  5. #4
    Sencha Premium Member
    Join Date
    Oct 2013
    Posts
    32
    Answers
    1

    Default

    I would think that will be sufficient for now; it already would do that for colors defined as "#fff" instead of "#ffffff" and it was useful. Thanks!

Similar Threads

  1. [OPEN] Feature Request: Make the editor more user friendly!!!
    By kstolker in forum Sencha Architect 3.x: Bugs
    Replies: 2
    Last Post: 3 Dec 2014, 2:10 PM
  2. Code editor feature request - tabs to spaces
    By Frith in forum Sencha Architect 3.x: Q&A
    Replies: 5
    Last Post: 10 Oct 2013, 12:15 PM
  3. Show editable fields by default in editor grid
    By xsuniwov in forum Sencha Ext JS Q&A
    Replies: 11
    Last Post: 15 Jun 2009, 3:10 PM
  4. Tooltip feature request for Form Fields
    By haattila in forum Community Discussion
    Replies: 0
    Last Post: 12 Oct 2007, 3:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •