PS1 Posted November 30, 2023 Share Posted November 30, 2023 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.zip I'm using: uniGUI Complete -Professional Edition Build 1.90.0.1568 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 1, 2023 Share Posted December 1, 2023 Hello, What is your goal, can you elaborate? Quote Link to comment Share on other sites More sharing options...
PS1 Posted December 1, 2023 Author Share Posted December 1, 2023 My goal is to make my form adaptive to what is inside him. I wll have to show and hide a diffrent components for diffrent users on form and i want it to be without any blank areas. Quote Link to comment Share on other sites More sharing options...
Luciano França Posted January 3 Share Posted January 3 Any solution Also need Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 4 Share Posted January 4 On 12/1/2023 at 12:00 PM, PS1 said: My goal is to make my form adaptive to what is inside him. I will try to check again. 1 Quote Link to comment Share on other sites More sharing options...
Luciano França Posted January 10 Share Posted January 10 On 1/4/2024 at 1:22 AM, Sherzod said: I will try to check again. Any position ? Quote Link to comment Share on other sites More sharing options...
PS1 Posted March 5 Author Share Posted March 5 Any progress on this ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 6 Share Posted March 6 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); } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.