Skip to content

Bin/Box: add has_frame property - #1054

Open
danirabbit wants to merge 3 commits into
mainfrom
danirabbit/binbox-card
Open

danirabbit wants to merge 3 commits into
mainfrom
danirabbit/binbox-card

Conversation

@danirabbit

Copy link
Copy Markdown
Member

Fixes #1033

@danirabbit
danirabbit requested a review from a team September 19, 2026 19:29

@leolost2605 leolost2605 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about just having a granite.card widget? Would scale a lot better

@danirabbit

Copy link
Copy Markdown
Member Author

@leolost2605 im not sure because it's really just a visual effect and other widgets have a frame property so it seems in keeping with what is expected of GTK widgets?

@leolost2605 leolost2605 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm but GTK uses it for kind of standalone widgets where it always could make sense to have a frame (button, entry, etc.). They don't have it on every container widget, that's what Gtk.Frame is for.
Idk I'm not super opposed to this it just feels kinda weird.
Code LGTM

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.

Add has_frame properties to Box and Bin

3 participants