Uh oh!
There was an error while loading. Please reload this page.
add hideprev and hideafter to uiLayoutContainer - #158
Conversation
add `hideprev` and `hideafter` attributes to uiLayoutContainer to control hide "prev" or "after" icon of the following spliterbar.
petrsimon
commented
Nov 10, 2015
This is an interesting idea, but I see two problems.
|
zsp1987
commented
Nov 10, 2015
|
petrsimon
commented
Nov 10, 2015
Ah sorry, you are right. My bad. I think I see a glitch, though. I think that hideprev won't always work, because the splitbar is compiled with the scope of the previous container. That means that if you have 3 containers, Actually, why is A side note: I was actually thinking about something like your proposal myself. In #154 I've introduced a notion of a "central" container, which doesn't implement the hiding, but it's motivated by what other layout libraries, like jquery ui-layout, have. A central container which always takes up the remaining space (and can never be closed - this I have not implemented yet, I simply hide the splitbar). That's the common theme we see around (the editor is central and around it a file tree, symbol tree, toolbar, statusbar, etc. all of which can be closed, except for the editor). I'm planning to extend the "central" container by disabling the inward toggles around it. |
SomeKittens
commented
Nov 13, 2015
Sorry I haven't been keeping up with things lately, should be back on track now. @petrsimon thanks for doing some review! @zsp1987 This looks useful and I'd love to bring it in if we can get over the bumps mentioned by @petrsimon . |
…button.
```
<div ui-layout-container splitbar="{prevButton: false}"></div>
```zsp1987
commented
Nov 14, 2015
@petrsimon Thank you for the advices. Add
|
SomeKittens
commented
Nov 14, 2015
@zsp1987 I like how this is coming together. Can you add some documentation about your new feature to the readme? |
add
hideprevandhideafterattributes to uiLayoutContainer to control hide "prev" or "after" icon of the following spliterbar.