You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue when integrating a Number Input in a Grid.
The Number Input seems to be cropped, I tried to fix the code myself but did not find its origin.
The code is the following
let stars = NumberInput::new(self.stars,0..=3,move |stars| {messaging(Message::Stars(stars))});Grid::with_rows(vec![GridRow::with_elements(vec![stars]),
])
and the rendering is
We can see that the value is not shown (should have been 3) and the decrease button is not here.
During these peregrinations, I also noticed that the padding was not working well.
Here we can see that the padding is not the same to the left and to the right in the Card widget
I'll be happy to help
The text was updated successfully, but these errors were encountered:
Hello,
I encountered an issue when integrating a Number Input in a Grid.
The Number Input seems to be cropped, I tried to fix the code myself but did not find its origin.
The code is the following
and the rendering is
We can see that the value is not shown (should have been 3) and the decrease button is not here.
During these peregrinations, I also noticed that the padding was not working well.
Here we can see that the padding is not the same to the left and to the right in the Card widget
I'll be happy to help
The text was updated successfully, but these errors were encountered: