You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found that when using the library to create a numeric variable, variable.Width is ignored unless variable.Textwidth is set beforehand. Consequently when opening the created SAV in PSPP, the columns are not displayed correctly.
My C# is not great, but looking at VariableRecord.cs, I see this, which would seem to explain it:
private static int GetDisplayInfoWith(Variable variable)
{
if (variable.TextWidth > 0)
{
return variable.Width;
}
Is this a bug, or am I missing something?
The text was updated successfully, but these errors were encountered:
I've found that when using the library to create a numeric variable, variable.Width is ignored unless variable.Textwidth is set beforehand. Consequently when opening the created SAV in PSPP, the columns are not displayed correctly.
My C# is not great, but looking at VariableRecord.cs, I see this, which would seem to explain it:
private static int GetDisplayInfoWith(Variable variable)
{
if (variable.TextWidth > 0)
{
return variable.Width;
}
Is this a bug, or am I missing something?
The text was updated successfully, but these errors were encountered: