Skip to content

Commit

Permalink
added MAGIC_BUTTON_KWARGS to constants
Browse files Browse the repository at this point in the history
  • Loading branch information
jgunstone committed May 26, 2023
1 parent 9073e5f commit 3ab3ae2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/ipyautoui/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
BUTTON_MIN_SIZE = frozenmap(width=BUTTON_WIDTH_MIN, height=BUTTON_HEIGHT_MIN)
# ---------------------------

MAGIC_BUTTON_KWARGS = frozenmap(
{
"disabled": False,
"layout": {"width": "44px"},
"button_style": "warning",
"icon": "magic",
"style": {},
"tooltip": "add many",
}
)
TRUE_BUTTON_KWARGS = frozenmap(
icon="check",
style={"button_color": "lightgreen"},
Expand Down

0 comments on commit 3ab3ae2

Please sign in to comment.