Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

listgrid header text truncated in Firefox when sort number is displayed

$
0
0
Hello,

My version of isomorphic is v9.1p_2015-03-26/Pro Development Only (2015-03-26).
NOK with Firefox 39.0.
Tested OK with Chrome 44.0.2403.155.

I've created a simple ListGrid with following fields:
Code:

<fields>
  <field name="fieldName1" title="fieldName 1" headerTitle=" "  type="integer"  align="center"  width="35" icon="[SKINIMG]/FieldName1.png"/>
  <field name="fieldName2" title="Group Name test" primaryKey="true" type="text" align="left" cellalign="left" width="138"/>
  <field name="fieldName3" headerTitle=" " title="fieldName 3"  type="integer" align="center"  width="35"  icon="[SKINIMG]/fieldName3.png"/>
  <field name="fieldName4" headerTitle=" " type="integer" title="FieldNAme 4" align="center"  width="35" icon="[SKINIMG]/fieldName4.png"/>
  <field name="fieldName5" headerTitle=" " type="integer" customizedTooltip="true" title="fieldName 5" align="center"  width="35" icon="[SKINIMG]/fieldNAme5.png"/>
</fields>

When I want to apply a multiple sorting, then, in Firefox, the text of the second field is truncated to display the number of the sort.
This is not the case with Chrome and IE11 (I've attached a screen capture for Firefox and a one with Chrome to show the difference).

To solve the problem, I've added, through the debugger embedded in Firefox, a CSS property (float: left) to the DIV that contains the text "Group Name Test".
It corresponds to the line n°58063 in the file ISC_Grids.js (when the style is applied to the DIV, method getButtonHeaderTitle()).
This is a temporary hack that doesn't support RTL text support for instance.

I've seen nothing in the Bugzilla database about a possible bug from Firefox.

Attached Images
File Type: png Header_Chrome_OK.PNG (5.6 KB)
File Type: png Header_Firefox_NOK.PNG (6.1 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles