Skip to content
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

limited space of relationtable in identify #33

Open
mtabdar opened this issue Apr 22, 2017 · 3 comments
Open

limited space of relationtable in identify #33

mtabdar opened this issue Apr 22, 2017 · 3 comments

Comments

@mtabdar
Copy link

mtabdar commented Apr 22, 2017

i am using relation tables in identify popup for several layers of my app, and it is GREAT! (thanks for the widget)
just in some cases i prefer to have more space for the contents of tables, is there a way to enable horizontal scrolling? or is there a way other than limiting the number of columns?
from another point of view why identify popup is not resize-able?

@mtabdar
Copy link
Author

mtabdar commented Apr 23, 2017

I found that by changing width=100% to width=500px in factory.js identify becomes scrollable. I think i can live with that.

@green3g
Copy link
Owner

green3g commented Apr 23, 2017

Awesome glad you figured it out. Would you be willing to post the fix? For others it might be helpful

@mtabdar
Copy link
Author

mtabdar commented Apr 27, 2017

Yes. Of course. I would be honoured.though it is somehow too simple.
In factory.js in line 67 which is

 style: 'width:100%;height:280px;'

I replaced width:100% with some pixel value.

style: 'width:500px;height:280px;'

As simple as that. It has though some shortcomings:
The property tab also gets this size so it is a bit misplaced from the center of the window.
And it is a fixed size for all identify windows whether you have a small tabe or a large one
And the vertical scroll is at the end of table so you have to move horizontal scroll to right end then scroll down -mouse wheel does not need that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants