Skip to content

cleanup: Remove Size::Hardcoded from applet size variants#886

Open
ryanabx wants to merge 1 commit intopop-os:masterfrom
ryanabx:remove-hardcoded
Open

cleanup: Remove Size::Hardcoded from applet size variants#886
ryanabx wants to merge 1 commit intopop-os:masterfrom
ryanabx:remove-hardcoded

Conversation

@ryanabx
Copy link
Copy Markdown
Contributor

@ryanabx ryanabx commented May 28, 2025

The most adequate replacement for applets that want to be custom-sized is to use PanelSize::Custom(n). This does lose the granularity between width and height though.

Might need discussion on whether people use width and height in community-made applets?

The most adequate replacement for applets that want to be custom-sized is to use PanelSize::Custom(n). This does lose the granularity between width and height though

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
@Ignavar
Copy link
Copy Markdown

Ignavar commented Jan 22, 2026

Could you give an example of how we could use PanelSize::Custom(n) this i was currently trying to set the size of my applet while i was able to get the height where i wanted by setting the size of the elements inside the width would not change beyond a certain size no matter what i tried

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.

2 participants