Skip to content

v0.7.1 - Toggle Button Customisation

Compare
Choose a tag to compare
@dmackdev dmackdev released this 06 Oct 12:49

What's Changed

New Feature: Toggle Button Customisation

Adds support to control visibility/interactivity of toggle buttons via 3 states: visible and enabled, visible and disabled, and hidden.

Configure the JsonTree via the new builder method toggle_buttons_state as follows:

JsonTree::new("id", &value)
    .toggle_buttons_state(ToggleButtonsState::VisibleDisabled)
    .show(ui);
Screen.Recording.2024-10-05.at.15.45.20.mov

Full Changelog: v0.7.0...v0.7.1