-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop-down box not wide enough for layers #201
Comments
You should se the full layer name on hover. |
Sorry, just tried it but can't see any. No tooltip or anything. Is this implementation specific? |
Your code should have a line
Then it should work out of the box. |
This was already as the very first line of code in the App init (this is the App Jonathan is using via Heron), which autocreates all components, including GXP's:
It is a bit vague what happens in the Ext.form.ComboBox from which the LayerCombo is derived. There are issues with listWidth, especially when box population is dynamic. See e.g. For other layer dropdowns Heron uses a LayerCombo class with special code for the resizing problem. |
Ah right, I see now that the qtip for combo entries is used in the Add Layers dialog, but not in the layers combo of the QueryPanel: https://github.com/opengeo/gxp/blob/master/src/script/plugins/AddLayers.js#L496. A pull request to add this to the QueryPanel would be gladly accepted. |
You two seem to have it in hand, but a further observation - most of the drop-down boxes are of suitable width, there's only two that aren't, at least in Heron: The layer-list in QueryBuilder, and the the operator list in QueryBuilder - you can see the later on the opengeo demo when using the "between" operator - http://suite.opengeo.org/geoexplorer/composer/ |
The drop-down box that contains a list of layers isn't wide enough to show the entire layer description. This is a problem because I have two layers with almost the same name but that is different at the end. See attached.
The text was updated successfully, but these errors were encountered: