Freeman35 Posted September 11, 2018 Share Posted September 11, 2018 Hi, How to chnage "Panel.Title" height? If collaps to left or right, its "height" change to width. thank you. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 12, 2018 Share Posted September 12, 2018 Hi, Can you please make a simple testcase, screenshots for this ?! Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted September 12, 2018 Author Share Posted September 12, 2018 I used standart theme "triton.modified" height so when collapse width is big for me, I wanna decrease this. On Screenshot, blue area is "Panel.Title" 's area. On First screenshot, darkedblue(on right side in firs image,) its splitter, not problem on. Quote Link to comment Share on other sites More sharing options...
GerhardV Posted September 12, 2018 Share Posted September 12, 2018 You can add the following CSS to CustomCSS in the ServerModule....BUT remember this will only work for left collapsed panels and it will also screw up the calculations from uniGUI when you use server side alignment (uniAlignmentServer). It will also affect all panels that will collapse to the left. .x-panel-header-default-collapsed-left { padding: 10px 0px 10px 0px; width: 21px !important; } P.S. I have not tested this properly so I am not sure how this will affect any other areas. Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted September 12, 2018 Author Share Posted September 12, 2018 Thank you GerhardV, its not worked for me. Quote Link to comment Share on other sites More sharing options...
GerhardV Posted September 12, 2018 Share Posted September 12, 2018 It seems like it did work...see the blue is a lot smaller...there is something else here at play which I cannot see...if you can make a small test project I can run locally I can take a look. Did you play or adjust the padding? Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted September 12, 2018 Author Share Posted September 12, 2018 I used css for treemenu, and for that panel, tomorrow I'll test empty and default panel. Yes blue area size is change but, "area" is not change, title string not centered, dark blue is splitter if I move it, panel uncollaps etc. maybe its come from theme css. Usually dont tuch theme Thank you very much for help, I'll continue this later, I have to focus finish project, visual site wiil be second plan. Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted September 13, 2018 Author Share Posted September 13, 2018 After refill my cafein reserve found my problem and fixed it. not about width or padding, I didn't see width parameter in my test codes of css. Thank you so much GerhardV. Have you suggestion for "x-panel-header-default-horizontal" height ? Quote Link to comment Share on other sites More sharing options...
GerhardV Posted September 13, 2018 Share Posted September 13, 2018 .x-panel-header-default-horizontal { height: 21px; padding: 0px 10px 0px 10px; } Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted September 13, 2018 Author Share Posted September 13, 2018 Thank you so much 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.