Esri / data-assistant

ArcGIS Pro Add-in that assists in emergency management, local government and state government data aggregation workflows.
Apache License 2.0
22 stars 8 forks source link

Min width of control cause the dockpane to have to be expanded to display the select button #131

Closed chris-fox closed 7 years ago

chris-fox commented 7 years ago

Because of the nature of the Pro UI and dock panes being primarily oriented vertically it would be good if the dock pane did not enforce such large minimum widths of the controls so that you can work with them without having to stretch open the dock pane. Currently the minimum width forces the button beyond the visibility in the dock pane when first initialized. There seems to be enough room to fit the combo box and button in the default width of a dock pane.

Additional space could be saved for the row by changing the button to be the browse icon button similar to GP rather than the 'Select' text.

SteveGrise commented 7 years ago

Good point, I was trying to hide that button from people so they won't change it casually, but I agree it's not very clean.

SteveGrise commented 7 years ago

@chris-fox could not figure out how to snag the file browse icon but I think I covered the other issues.

previnWong commented 7 years ago

The initial xml choosing is better, image

but after file chosen, the UI is still off, but atleast the scrollbars help. image

MikeMillerGIS commented 7 years ago

Have the same issue. Can you set the box to auto size and move the button to the line below? image

MikeMillerGIS commented 7 years ago

i see the scroll bar, i can live with that, back to verified and closing