tmcgee/cmv-widgets

identifyPanel widget, export button issue

ERS-Long opened this issue · 1 comments

the dialog box is maximized. Not sure if there is any setting we can use to change that.

I am using the most current Develop version. (very good enhancement!)

Thanks.

ERS-Long

@ERS-Long This is something I noticed the other day and is actually a CMV bug introduced in the latest commits. The fix that I will submit is to change this line to this:

class: parentId + ' ' + widgetConfig.type + 'Widget',

Of course there is always more than one way to skin a cat. You can include a style property in the widget's options to set the width and height. That's true for pretty much any widget. Something like this:

style: 'width: 285px;height:320px;max-width:98vw;max-height:98vw',

or for the floating pane itself as we do for help widget

Since the issue is specific to CMV and not the widgets themselves, I am going to close this issue.