Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Spacing seems to have no effect on button group

Open Beginner friendly
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
powershell
Domain
frontend

Research direction

Start at the New-UDActionGroup implementation and trace how its -Spacing parameter is applied to the button group. Reproduce the sample with several spacing values, then verify that changing the value changes button placement within the group stack.

Written by the indexing model from the issue text.

Description

In New-UDActionGroup the -Spacing` parameter seems to have no affect on the buttons within the group.

Sample:

$Spacing = 100

New-UDActionGroup -Direction $direction -Spacing $Spacing -Style @{ padding = '12px' } -Button @(
            New-UDButton -Text '+ Follow'     -Style @{ borderRadius = '999px'; border = '2px solid #1976d2'; color = '#1976d2'; padding = '5px 18px'; background = 'transparent'; fontWeight = '600' } -OnClick { Show-UDToast -Message 'Following!'       -MessageColor '#1976d2' }
            New-UDButton -Text '★ Favorite'  -Style @{ borderRadius = '999px'; border = '2px solid #ff9800'; color = '#ff9800'; padding = '5px 18px'; background = 'transparent'; fontWeight = '600' } -OnClick { Show-UDToast -Message 'Added to favourites' -MessageColor '#ff9800' }
            New-UDButton -Text '⚑ Flag'       -Style @{ borderRadius = '999px'; border = '2px solid #9c27b0'; color = '#9c27b0'; padding = '5px 18px'; background = 'transparent'; fontWeight = '600' } -OnClick { Show-UDToast -Message 'Flagged'          -MessageColor '#9c27b0' }
        )

changing the value of $spacing should affect button placement in the group stack by its value

Dominant language
PowerShell
Stars
14
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.