Ticket #5946 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

buttonset should ignore buttons that are not :visible

Reported by: spudly Owned by:
Priority: minor Milestone: 1.8.5
Component: ui.button Version: 1.8.4
Keywords: Cc:
Blocking: Blocked by:

Description

Sometimes I want to hide certain buttons from a button set. Problem is, when I hide the leftmost or rightmost button in a buttonset then the rightmost visible button does not have rounded corners.

Not sure how hard this would be to fix, but I would guess that this could be accomplished by applying a :visible filter to the set of buttons being transformed so that the corners display properly.

Change History

comment:1 Changed 4 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from TBD to 1.9

Fixed in  9060bf3.

comment:2 Changed 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.5

comment:3 Changed 4 years ago by scott.gonzalez

The fix for #6262 makes this no longer automatic, but you can now specify a custom selector for finding the buttons to include in a buttonset and you can filter those down to the visible buttons.

comment:4 Changed 4 years ago by Scott González

Buttonset: Ignore hidden buttons. Fixes #5946 - buttonset should ignore buttons that are not :visible.

Changeset: 9060bf3d09a547563e94815f9e0a1c4908ebd904

Note: See TracTickets for help on using tickets.