new problem on Text widget size

View: New views
4 Messages — Rating Filter:   Alert me  

new problem on Text widget size

by frederic_viollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Cyril,

Here's a new problem. The Text widget doesn't get sized correctly.

UserFrame = new
rialto.widget.Frame({name:'UserFrame',top:'0',left:'0',width:'100%',height:'100%',title:'
',open:true,dynamic:false,position:'absolute',draggable:false,parent:document.body});
TabLevel = new
rialto.widget.TabFolder({name:'TabLevel',top:'30',left:'0',width:'99%',height:'95%',parent:UserFrame,widthItem:140,autoResizeTab:true,isClosable:false,draggableItem:false});
       
InfosTab=TabLevel.addTabItem("Infos",true);
InfosTabFrame1 = new
rialto.widget.Frame({name:'InfosTabFrame1',top:'10',left:'10',width:'95%',height:'210',title:"",open:true,dynamic:false,position:'absolute',draggable:false,parent:InfosTab});
NameText = new
rialto.widget.Text('NameText',20,250,350,'A',InfosTabFrame1,{autoUp:false,isRequired:false,disable:false,rows:5,accessKey:'',tabIndex:'',initValue:"",nbchar:100});
NameText.setEnable(false);

If I remove the NameText.setenable(false), the widget's size is correct.

Thanks

Fred


Re: new problem on Text widget size

by frederic_viollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cyril, I forgot to tell you : the problem only occurs on IE

--- In rialto-dev@..., "frederic_viollet"
<frederic.viollet@...> wrote:
>
> Hi Cyril,
>
> Here's a new problem. The Text widget doesn't get sized correctly.
>
> UserFrame = new
>
rialto.widget.Frame({name:'UserFrame',top:'0',left:'0',width:'100%',height:'100%',title:'
>
',open:true,dynamic:false,position:'absolute',draggable:false,parent:document.body});
> TabLevel = new
>
rialto.widget.TabFolder({name:'TabLevel',top:'30',left:'0',width:'99%',height:'95%',parent:UserFrame,widthItem:140,autoResizeTab:true,isClosable:false,draggableItem:false});
>
> InfosTab=TabLevel.addTabItem("Infos",true);
> InfosTabFrame1 = new
>
rialto.widget.Frame({name:'InfosTabFrame1',top:'10',left:'10',width:'95%',height:'210',title:"",open:true,dynamic:false,position:'absolute',draggable:false,parent:InfosTab});
> NameText = new
>
rialto.widget.Text('NameText',20,250,350,'A',InfosTabFrame1,{autoUp:false,isRequired:false,disable:false,rows:5,accessKey:'',tabIndex:'',initValue:"",nbchar:100});
> NameText.setEnable(false);
>
> If I remove the NameText.setenable(false), the widget's size is correct.
>
> Thanks
>
> Fred
>



Re: new problem on Text widget size

by Cyril Balit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fred,

It is fixed.

Cyril

--- In rialto-dev@..., "frederic_viollet"
<frederic.viollet@...> wrote:
>
> Hi Cyril,
>
> Here's a new problem. The Text widget doesn't get sized correctly.
>
> UserFrame = new
>
rialto.widget.Frame({name:'UserFrame',top:'0',left:'0',width:'100%',height:'100%',title:'
>
',open:true,dynamic:false,position:'absolute',draggable:false,parent:document.body});
> TabLevel = new
>
rialto.widget.TabFolder({name:'TabLevel',top:'30',left:'0',width:'99%',height:'95%',parent:UserFrame,widthItem:140,autoResizeTab:true,isClosable:false,draggableItem:false});
>
> InfosTab=TabLevel.addTabItem("Infos",true);
> InfosTabFrame1 = new
>
rialto.widget.Frame({name:'InfosTabFrame1',top:'10',left:'10',width:'95%',height:'210',title:"",open:true,dynamic:false,position:'absolute',draggable:false,parent:InfosTab});
> NameText = new
>
rialto.widget.Text('NameText',20,250,350,'A',InfosTabFrame1,{autoUp:false,isRequired:false,disable:false,rows:5,accessKey:'',tabIndex:'',initValue:"",nbchar:100});
> NameText.setEnable(false);
>
> If I remove the NameText.setenable(false), the widget's size is correct.
>
> Thanks
>
> Fred
>



Re: new problem on Text widget size

by frederic_viollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Cyril,

it works.

Fred

--- In rialto-dev@..., "Cyril Balit" <cbalit@...> wrote:

>
> Fred,
>
> It is fixed.
>
> Cyril
>
> --- In rialto-dev@..., "frederic_viollet"
> <frederic.viollet@> wrote:
> >
> > Hi Cyril,
> >
> > Here's a new problem. The Text widget doesn't get sized correctly.
> >
> > UserFrame = new
> >
>
rialto.widget.Frame({name:'UserFrame',top:'0',left:'0',width:'100%',height:'100%',title:'
> >
>
',open:true,dynamic:false,position:'absolute',draggable:false,parent:document.body});
> > TabLevel = new
> >
>
rialto.widget.TabFolder({name:'TabLevel',top:'30',left:'0',width:'99%',height:'95%',parent:UserFrame,widthItem:140,autoResizeTab:true,isClosable:false,draggableItem:false});
> >
> > InfosTab=TabLevel.addTabItem("Infos",true);
> > InfosTabFrame1 = new
> >
>
rialto.widget.Frame({name:'InfosTabFrame1',top:'10',left:'10',width:'95%',height:'210',title:"",open:true,dynamic:false,position:'absolute',draggable:false,parent:InfosTab});
> > NameText = new
> >
>
rialto.widget.Text('NameText',20,250,350,'A',InfosTabFrame1,{autoUp:false,isRequired:false,disable:false,rows:5,accessKey:'',tabIndex:'',initValue:"",nbchar:100});
> > NameText.setEnable(false);
> >
> > If I remove the NameText.setenable(false), the widget's size is
correct.
> >
> > Thanks
> >
> > Fred
> >
>


LightInTheBox - Buy quality products at wholesale price