Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017055Openbravo ERPA. Platformpublic2011-05-06 17:392011-08-08 15:44
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP2 
Core
No
0017055: Different auto-width settings for yes/no columns in a grid
Currently yes/no columns are fixed at 50 px even if their title is much longer. For all other fields the column is sized minimally to show the complete title.
The yes/no columns look strange if there is enough horizontal space. Check if the auto fit can be enabled for yes/no columns if there is enough horizontal space available. See this discussion on the sc forum:
http://forums.isomorphic.com/showthread.php?t=16641&goto=newpost [^]
No tags attached.
related to defect 00171333.0MP5 closed mtaal There are cases where the grid columns do not take the complete size of the window 
Issue History
2011-05-06 17:39mtaalNew Issue
2011-05-06 17:39mtaalAssigned To => mtaal
2011-05-06 17:39mtaalModules => Core
2011-05-16 08:53alostaleStatusnew => scheduled
2011-05-23 13:25mtaalTarget Version3.0MP0 => 3.0MP1
2011-06-22 19:57dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-07-19 18:03hgbotCheckin
2011-07-19 18:03hgbotNote Added: 0039245
2011-07-19 18:03hgbotStatusscheduled => resolved
2011-07-19 18:03hgbotResolutionopen => fixed
2011-07-19 18:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0c8febea1999ba36394dfc58c73f6b5c35bbca96 [^]
2011-08-01 14:20hudsonbotCheckin
2011-08-01 14:20hudsonbotNote Added: 0039634
2011-08-08 11:10mtaalRelationship addedrelated to 0017133
2011-08-08 15:44shuehnerNote Added: 0040006
2011-08-08 15:44shuehnerStatusresolved => closed

Notes
(0039245)
hgbot   
2011-07-19 18:03   
Repository: erp/devel/pi
Changeset: 0c8febea1999ba36394dfc58c73f6b5c35bbca96
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Jul 19 18:00:27 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0c8febea1999ba36394dfc58c73f6b5c35bbca96 [^]

Fixes issue 17055: Different auto-width settings for yes/no columns in a grid
Set a minFieldWidth on the listgrid, the enum field does the same as text field (use display length and hover), the hover now consults the valuemap

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/EnumUIDefinition.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/YesNoUIDefinition.java
---
(0039634)
hudsonbot   
2011-08-01 14:20   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test
(0040006)
shuehner   
2011-08-08 15:44   
Tested in main (rev id: 5744448753e7). Boolean columns now have slightly bigger default width and also can take up the remaining available if any and their title is long enough (i.e. on module -> dependency tab in grid view).