Results 1 to 3 of 3

Thread: [CLOSED][2.1] tbseparator setVisible

  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2008
    Posts
    29

    Default [CLOSED][2.1] tbseparator setVisible

    tbseparator does not respond well to the setVisible method.

    reproduce:

    create a toolbar
    place a tbseparator on it
    try to hide it using the setVisible method (or hide or show)

    regards,

    Simon

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    I am unable to reproduce the problem.

    Can you post a testcase that demonstrates the problem?

    I used:
    Code:
    Ext.onReady(function(){
    	var tbseparator = new Ext.Toolbar.Separator();
    	new Ext.Viewport({
    		layout: 'fit',
    		items: {
    			title: 'Test',
    			tbar: [{
    				text: 'Hide separator',
    				handler: function(){
    					tbseparator.hide();
    				}
    			},tbseparator,{
    				text: 'Show separator',
    				handler: function(){
    					tbseparator.show();
    				}
    			}]
    		}
    	});
    });
    (tested both Ext 2.1 and 2.2, standards and quirks mode, IE7+8, FF2+3, Opera 9.62, Safari 3.2 and Chrome)

  3. #3
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    Same, however I tested in 2.2, not sure if this was an issue in 2.1.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •