[Scilab-Dev] x_mdialog for editing matrices

Kirill Kirillov kirill.kirillov at gmail.com
Mon Jun 8 00:44:21 CEST 2009


Hi!

В Пнд, 01/06/2009 в 00:35 +0200, Samuel GOUGEON пишет:
> > I've tried to use x_mdialog function for editing matrices using idea
> > found in Scilab demos (GUI dialog example), but it seems that this
> > function is not suitable for this.
> >
> > Take a look at the following example:
> > rows = ['row1' 'row2'];
> > cols = ['col1' 'col2' 'col3'];
> > test = [1 1 1; 0 0 0];
> > x_mdialog('Testing', rows, cols, string(test))
> >
> > Results:
> > 1) [1 0 1; 0 1 0] in row1 and row2 instead original [1 1 1; 0 0 0];
> > 2) col1, col2 and col3 should be shifted to be above correspondent cells
> >
> > Are these bugs?
>    
> Strange, indeed.
I fully agree with you, so
http://bugzilla.scilab.org/show_bug.cgi?id=4564

> Have you tried with x_matrix() ?
Yes, fortunately x_matrix works, but in Windows it uses too small font
size in comparison with x_mdialog. Is there way to change its font size?

Also if this bug was fixed, it would extremely improve usability of
scilab dialogs:
http://bugzilla.scilab.org/show_bug.cgi?id=4137

Thanks.

-- 
Kirill Kirillov
<><




More information about the users mailing list