c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #36755
[Bug 887816] [NEW] image widget must keep aspect ratio of loaded image
Public bug reported:
I used
'blueprint' : fields.binary ('Blueprint'),
and
<field colspan="2" name="blueprint" nolabel="1" img_width="550" img_height="550" width="550" height="550" widget="
in GTK 6.0 this coding was used and kept the aspect ration
in 6.1 it seems that thes values are taken as absolute values
what IMHO is needed are max values - as we do not know the format and
size of the loaded image. we should be able to assign the max
widht/higth of the container and the image should be placed inside
keeping it's original aspect ratio
may be I miss something
** Affects: openobject-client-web
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/887816
Title:
image widget must keep aspect ratio of loaded image
Status in OpenERP Web Client:
New
Bug description:
I used
'blueprint' : fields.binary ('Blueprint'),
and
<field colspan="2" name="blueprint" nolabel="1" img_width="550" img_height="550" width="550" height="550" widget="
in GTK 6.0 this coding was used and kept the aspect ration
in 6.1 it seems that thes values are taken as absolute values
what IMHO is needed are max values - as we do not know the format and
size of the loaded image. we should be able to assign the max
widht/higth of the container and the image should be placed inside
keeping it's original aspect ratio
may be I miss something
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/887816/+subscriptions
Follow ups
References