-
Notifications
You must be signed in to change notification settings - Fork 42
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
GridView: Fit image to grid item without crop #1692
GridView: Fit image to grid item without crop #1692
Conversation
d997b7c
to
8bd9374
Compare
@@ -164,6 +164,18 @@ tau-gridview { | |||
} | |||
} | |||
|
|||
&.ui-gridview-image-icon .ui-gridview-item img, |
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.
If the girdview image is mixed with general image and icon
and I don't know which image will be on the grid , how about it?
I think in that case I can't use the "ui-gridview-image-icon".
Signed-off-by: Tomasz Lukawski <[email protected]>
8bd9374
to
27cb01e
Compare
Signed-off-by: Tomasz Lukawski <[email protected]>
Signed-off-by: Tomasz Lukawski <[email protected]>
Signed-off-by: Tomasz Lukawski <[email protected]>
5a69f6b
to
81c8483
Compare
b7a3fff
to
e6708a9
Compare
Signed-off-by: Tomasz Lukawski <[email protected]>
e6708a9
to
c2c6f4c
Compare
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.
Fix the image in the gridview
New css class has been added to Gridview widget
The
ui-gridview-image-icon
fits image size to the grid item container.The GridView widget detects icons and adds
ui-gridview-image-icon
to image.Signed-off-by: Tomasz Lukawski [email protected]