Skip to content

DankKDEConnect: fix last device clipped in control center detail#75

Open
kanghengliu wants to merge 1 commit into
AvengeMedia:masterfrom
kanghengliu:master
Open

DankKDEConnect: fix last device clipped in control center detail#75
kanghengliu wants to merge 1 commit into
AvengeMedia:masterfrom
kanghengliu:master

Conversation

@kanghengliu

Copy link
Copy Markdown

The control center host sizes the plugin detail panel to ccDetailHeight (350) minus spacing, but KDEConnectDetailContent used a hardcoded 300px list area below a header, divider, and margins. The combined height overflowed the allocated panel, clipping the bottom of the last device entry and making it unclickable when scrolled to the bottom.

Size the list area from the rectangle's actual height (driven by the host loader) instead of a fixed value, and drop the now-unused listHeight property.

The control center host sizes the plugin detail panel to ccDetailHeight
(350) minus spacing, but KDEConnectDetailContent used a hardcoded
300px list area below a header, divider, and margins. The combined
height overflowed the allocated panel, clipping the bottom of the last
device entry and making it unclickable when scrolled to the bottom.

Size the list area from the rectangle's actual height (driven by the
host loader) instead of a fixed value, and drop the now-unused
listHeight property.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant