-
Notifications
You must be signed in to change notification settings - Fork 207
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
Fix that Time of Day2's keynote is hidden a little #1104
Conversation
@@ -123,7 +123,7 @@ fun TimetableGridItem( | |||
|
|||
Row( | |||
modifier = Modifier | |||
.weight(1.5f, fill = false) | |||
.weight(2f, fill = false) |
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.
Thanks! Do you have any idea why this works 👀
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.
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.
Sorry for bothering you. But Could you add some preview functions to confirm small items? Maybe we can pass modifier.size or something to confirm.
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 have no idea. I think the existing preview functions are enough.
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.
By the way, the following code works also.
Text(
modifier = Modifier.weight(1f, fill = false), // notice
text = timetableItem.title.currentLangTitle,
style = titleTextStyle,
overflow = TextOverflow.Ellipsis,
)
Row(
modifier = Modifier
.weight(1f, fill = false) // notice
.padding(top = TimetableGridItemSizes.titleToSchedulePadding),
) {
...
}
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.
Hello, I did a30a61e @takahirom
Looks great! Thanks! |
Issue
Overview (Required)
change the TimetableGridItem
Screenshot (Optional if screenshot test is present or unrelated to UI)