question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resize responsive splitter Panes

See original GitHub issue

OpenUI5 version: 1.44.6

Browser/version (+device/version): any

Hello,

Is there a way to set the size of a panel in a responsive splitter? There are no width/height elements on the panes (FYI: I mean the panes inside the splitter, not the responsive splitter itself).

I would like to a) have a starting size. By default it is always 1/n (n = number of elements in the pane) * 100% b) Be able to animate the size c) Setting resizeable to false

I tried a) putting a width/height on the child elements in the SplitPane b) using layoutdata on the SplitPane itself and the child element I put in there:


<l:SplitPane requiredParentWidth="400">
  <LayoutData>
    <l:SplitterLayoutData resizable="false" size="20px"/>
  </LayoutData>
  <Button text="test">
    <LayoutData>
      <l:SplitterLayoutData resizable="false" size="20px"/>
    </LayoutData>
  </Button>
</l:SplitPane>

Both do not work (for me at least)

The source code does not hint any workaround, but somehow you have to do it, as the user can resize it. Is the developer able to do the trick, too?

Thanks in advance

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cryptovoxcommented, May 29, 2018

Hi,

It can be achieved by using SplitterLayoutData element for SplitPane or for PaneContainer:

<l:layoutData> <l:SplitterLayoutData resizable=“false” size=“100px”/> </l:layoutData>

Take a look at updated demo: http://jsfiddle.net/y9rffmm5/3/

Regards, Vlad

0reactions
developerUI5commented, Feb 2, 2018

Hi apazureck, Thanks for your response i already tried some css customization from MapToO proposal but it didn’t work. The problem that i have to implement a responsive view, a simple splitter is not a solution…

Read more comments on GitHub >

github_iconTop Results From Across the Web

UI5 Add/remove/change responsive splitter split pane
The first thing I want to do is change how wide the panes start. It is easy to modify the size of the...
Read more >
Telerik Web Forms Resizing - RadSplitter - Documentation
Use the ResizeMode property of RadSplitter to define which panes are resized and how the sizes of panes changes. There are three possible...
Read more >
Splitter - How to resize Panes inside responsively (window ...
I have some troubles in resizing the panels inside a Splitter Panel: -ContentLeft (Size: 240px) -ContentCenter @Html.DevExpress().
Read more >
Easy Layout Splitter/Resizer For Developer - pane-slider
An easy-to-use and mobile-friendly split slider plugin to create a split layout ... to resize two split panes via mouse drag or touch...
Read more >
Some problems in resizing the splitter | ASP.NET MVC
To render the splitter with height of entire page, we suggest you specify the corresponding value to height property as done in our...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found