Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Add ButtonStretch object #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add ButtonStretch object #18

wants to merge 2 commits into from

Conversation

ls-
Copy link
Contributor

@ls- ls- commented Jul 5, 2021

Based on UIMenuButtonStretchTemplate that looks like so:

image

It reuses as much of existing Button code as possible hence they're in the same file, if need be, I'll move it to a separate file.

What's currently missing:

  • Documentation
  • :OnEnter and :OnLeave script handlers since I'm not exactly sure how they should be handled in the context of the lib

-- edit

Removed :OnEnter and :OnLeave from tasks because after inspecting the Buttons code a bit more thoroughly the lib doesn't really handle those on its own, and it's up to users to set those up.

@p3lim p3lim self-assigned this Jul 11, 2021
@ls- ls- force-pushed the button-stretch branch 3 times, most recently from 1e0f8b8 to d1371a2 Compare November 27, 2022 17:24
@ls- ls- changed the title [WIP] Add ButtonStretch object Add ButtonStretch object Nov 27, 2022
ls- added 2 commits November 28, 2022 19:35
Based on UIMenuButtonStretchTemplate.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants