Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2014
    Posts
    1
    Vote Rating
    0
    Adamovskiy is on a distinguished road

      0  

    Default Ext 4.2.2 collapsing field labels

    Ext 4.2.2 collapsing field labels


    Ext version tested:
    • Ext 4.2.2 rev 1144
    Browser versions tested against:
    • Chrome
    Description:
    • In some cases of nesting panels with specific layouts (see example below), when inner field stretches by other biggest control, and width of its label is not set manually, it sets to 0, so field overlays the label.
    Steps to reproduce the problem:

    Code:
    Ext.onReady(function() {    var mainViewport = new Ext.Viewport( {
            layout: "fit"
        });
    
    
        var formPanel = new Ext.panel.Panel( {
            layout: "column"
        });
    
    
        var mainPanel = new Ext.panel.Panel({
            layout:{
                align: "stretch",
                pack: "start",
                type: "vbox"
            }
        });
    
    
        var otherPanel = new Ext.panel.Panel({
            layout:{
                align: "stretch",
                pack: "start",
                type: "vbox"
            }
        });
    
    
        var number = new Ext.form.field.Number({
            fieldLabel: "Label",
            labelWidth: ""
        });
    
    
        var label = new Ext.form.Label({
            text: "Very very very very very very very very very very very very long text"
        });
    
    
        mainViewport.add(formPanel);
        formPanel.add(mainPanel);
        mainPanel.add(otherPanel);
        otherPanel.add(label);
        otherPanel.add(number);
    });
    The result that was expected:
    • Up to version 4.2.1 size of label in this case was enough to see the whole text.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,650
    Vote Rating
    402
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    INvalid config:

    Code:
     var number = new Ext.form.field.Number({
            fieldLabel: "Label",
           // labelWidth: "" // numeric
     });

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,650
    Vote Rating
    402
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    To get the result you are looking for, you can use:

    Code:
    labelWidth: false

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar