After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725722 - Grid layout actor width/height swapped
Grid layout actor width/height swapped
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: ClutterLayoutManager
1.14.x
Other Linux
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-05 13:02 UTC by Piotr Iwaniuk
Modified: 2014-03-11 23:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Python snippet (671 bytes, text/x-python)
2014-03-05 13:02 UTC, Piotr Iwaniuk
  Details
grid-layout: Use correct orientation when requesting preferred child size (981 bytes, patch)
2014-03-11 11:40 UTC, Bastian Winkler
committed Details | Review

Description Piotr Iwaniuk 2014-03-05 13:02:33 UTC
Created attachment 270985 [details]
Python snippet

In some cases (see attachment) actors in grid layout don't get sized properly:
- set_width changes actors height
- set_height has no effect
Comment 1 Bastian Winkler 2014-03-11 11:40:20 UTC
Created attachment 271518 [details] [review]
grid-layout: Use correct orientation when requesting preferred child size

This patch should at least apply to 1.14.x - 1.18.x and fix that behaviour.
Sorry for the inconvenience.
Comment 2 Emmanuele Bassi (:ebassi) 2014-03-11 22:15:42 UTC
Review of attachment 271518 [details] [review]:

looks okay to me.
Comment 3 Bastian Winkler 2014-03-11 23:35:18 UTC
Attachment 271518 [details] pushed as 70835c9 - grid-layout: Use correct orientation when requesting preferred child size