NetTalk Central

Author Topic: Button sets do not maintain their "set-ness"  (Read 2069 times)

spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Button sets do not maintain their "set-ness"
« on: April 06, 2011, 05:54:27 AM »

5.20 - Cosmetic Issue

I have a row of buttons defined as a "set", i.e. on the first and last buttons have rounded corners. e.g.



The "Search for Part" button is setup to reset the values of the other buttons in the "set":



So what happens is: when I press the Search For Part button the other buttons lose their "set-ness" and they all get rounded corners.




Thanks

Bryan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Button sets do not maintain their "set-ness"
« Reply #1 on: April 06, 2011, 05:57:40 AM »
Hi Bryan,

I'm not sure how you created the set, so it's hard to comment on what you might have done wrong - but my first guess would be that you've used a conditional somewhere that's based on a variable not a session value.

In my testing here it wasn't all that easy to create a button set at all - for a set of custom buttons on a form, so I've added a new feature in 5.21 (building now) which allows you to create custom button sets.

cheers
Bruce


spot1701

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: Button sets do not maintain their "set-ness"
« Reply #2 on: April 06, 2011, 06:04:13 AM »
Nothing "custom" going on.

First button is the set like this:





The second button is the same, except "Start Button Set" isn't ticked.

And the last button in the row is setup as follows:

Thanks

Bryan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Button sets do not maintain their "set-ness"
« Reply #3 on: April 06, 2011, 07:38:08 AM »
ahh - very good - I must have sneaked that into the 5.20 release.

add the following to the DIV Css Class on the button tab;
' nt-margin-right-0'
note the leading space.

I'm pretty sure this _is_ new to 5.21 - but it won't hurt if you put it in now.
It gets rid of the little gap between the buttons - scoots them up together so to speak.

One tip though - you don't want to be hiding, or un-including either the start or end button in the set. It's not smart enough for that yet.

Other than that I don't see a problem - so I'd need to see the site online, or an example duplicating the effect to be sure of the issue.

cheers
Bruce