Jump to content

uniform height=auto not working


PS1

Recommended Posts

When i set uniform layoutconfig.Height = auto in design time, it doesn't seem to work. It only make bar with height 30px like in the picture below, even if i have panel on it with static height 300px.

I attached testcase with example.

 

Is there a solution to  make uniform ,,autosize" to its content ? 

Project1.zipimage.thumb.png.4305604b9dde7988ec9e9657406db5cd.png

 

I'm using:

uniGUI Complete -Professional Edition

Build 1.90.0.1568 

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
15 hours ago, PS1 said:

Any progress on this ?

One possible solution for your case:

function form.afterrender(sender, eOpts)
{
    var form = this;
    form.uwindow.setHeight(form.getRefItems()[0].getHeight() + 10);
    Ext.defer(function() {
        form.uwindow.center()
    }, 100);
}

image.thumb.png.e276f8e4eca30ea1f52e34c0b5ccf1f3.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...