-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Complete rounding by adding selection #4103
Conversation
Also means it is in the file dialog :) Fixes fyne-io#3981
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might want to work a little bit more on the spacing for the rounded selection.
For example, the spacing in the Table widget looks a little bit off:
It also kind of seems to not be centered in list and tree. Larger gap at the top or bottom?
I think it would be nice to do something like Adwaita where the selection has a slight bit of padding on the outside (though I suspect we want less if that works with our design):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you also might want to update the dialog fileitem to use the new selection radius.
I'm not sure I follow which was missed, pretty sure I tested file dialog which was moved to GridWrap? |
File dialog was never moved to GridWrap |
I see on f.files = container.NewGridWrap |
@Jacalz is right - that's the GridWrap container, not the GridWrap widget |
Aha absolutely. Thanks. |
What I meant is that I couldn't see any mention in this PR about updating the |
Aha I understand. I'd forgotten That some selection was using input radius. I will check for others. |
That should fix it. I have a WiP move to GridWrap but the selection handling is proving a little complex so I'd like to open it as a different PR |
No problem. I wasn't suggesting it as part of this one :) Did you have a look at my comment regarding the alignment? |
I missed them. Regarding spacing / padding around the rectangles - this has not changed since last release. I don't know exactly what you mean by "a slight bit of padding on the outside", but I am pretty sure that accommodating something like that would potentially mess with the otherwise standard alignment and/or be complicated additions to the theme API. |
Alright. I'll have a second look at this this eve thing if I can |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. This looks great :)
Just one question, are the tabs left intentionally non-rounded?
Yes. We have an underline on tabs. If we round the rectangles those lines will look peculiar won't they? If you can think of a nice layout I'll look into it but I couldn't find a way that made sense. |
I assumed that was the case, thanks. Just wanted to be sure. The only thing I can think of is having only the top two corners rounded but that isn't currently possible. I'll approve this :) |
This is all we can do without rounded shadows I think...
Fixes #3981
Checklist: