csWeb icon indicating copy to clipboard operation
csWeb copied to clipboard

Fixed click region for buttonwidget

Open blootsvoets opened this issue 9 years ago • 4 comments

Click region for the button widget was only the content. Since the whole button widget area responds to mouseover, this is a bit counterintuitive, so I made the whole button widget area respond to clicks.

blootsvoets avatar Jun 01 '16 14:06 blootsvoets

Thnx! Have you checked this with a clickable legends inside the button and with the edit button active for dynamic layers?

damylen avatar Jun 01 '16 18:06 damylen

Ah die clicks worden dan inderdaad niet meer herkend... Ik zal kijken of ik een andere oplossing kan bedenken.

blootsvoets avatar Jun 02 '16 07:06 blootsvoets

Moved the click handling back to content, and adjusted the height and padding of the content so that it fills the entire div. I had to override the ng-binding and s3d classes padding for this, so it's using !important.

blootsvoets avatar Jun 02 '16 08:06 blootsvoets

@damylen do you think the pull request is acceptable now?

blootsvoets avatar Jun 13 '16 10:06 blootsvoets