Merge changes from release-1.0c branch
This commit is contained in:
commit
29bb281f6a
|
@ -471,6 +471,9 @@ public class GridView extends Vbox implements EventListener<Event>, IdSpace, IFi
|
||||||
if (headerWidth > estimatedWidth)
|
if (headerWidth > estimatedWidth)
|
||||||
estimatedWidth = headerWidth;
|
estimatedWidth = headerWidth;
|
||||||
|
|
||||||
|
//hflex=min for first column not working well
|
||||||
|
if (i > 0)
|
||||||
|
{
|
||||||
if (DisplayType.isLookup(gridField[i].getDisplayType()))
|
if (DisplayType.isLookup(gridField[i].getDisplayType()))
|
||||||
{
|
{
|
||||||
if (headerWidth > MIN_COMBOBOX_WIDTH)
|
if (headerWidth > MIN_COMBOBOX_WIDTH)
|
||||||
|
@ -486,6 +489,7 @@ public class GridView extends Vbox implements EventListener<Event>, IdSpace, IFi
|
||||||
if (headerWidth > MIN_COLUMN_WIDTH)
|
if (headerWidth > MIN_COLUMN_WIDTH)
|
||||||
column.setHflex("min");
|
column.setHflex("min");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//set estimated width if not using hflex=min
|
//set estimated width if not using hflex=min
|
||||||
if (!"min".equals(column.getHflex())) {
|
if (!"min".equals(column.getHflex())) {
|
||||||
|
|
Loading…
Reference in New Issue