AvengeMedia / AvengeMedia/DankMaterialShell

Segmented button: selected middle item gets rounded corners instead of rectangular edges

Open
#2,147 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
QML
Stars
8.1k
Forks
515
Avg merge
1d 8h
Merged PRs (30d)
102

Description

**Description**

In segmented button / tab-like selection widgets, the selected option receives fully rounded corners regardless of its position. Middle items should have rectangular (straight) edges on their left and right sides—only the leftmost and rightmost items in the group should have rounded corners on their outer edges.

**Expected behaviour**

- First item: rounded left corners, straight right edge
- Middle items: straight edges on both sides (even when selected)
- Last item: straight left edge, rounded right corners

**Actual behaviour**

When a middle item is selected, it gets rounded corners on all sides, breaking the continuous shape of the segmented control.

**Environment**

- DMS via CachyOS packages
- Niri 25.11
-

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.