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.

Set initial position of the divisor of a Split Container [Core]

See original GitHub issue

The current implementation of SplitContainer doesn’t allow to modified the initial position of the divisor, so it would be great to set a min/max height or width of each widget inside of the a SplitContainer.

Example of how it looks now:

captura de tela 2017-06-27 as 03 29 50

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
polarmutexcommented, Aug 19, 2018

It looks like you can add weights when adding content to a split container now. however on macOS the weights do not seem to go into effect till resize the window.

0reactions
freakboy3742commented, Mar 29, 2022

I believe this has now been implemented (including fixes for macOS).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set initial position of the divisor of a Split Container [Core] #186
# Set the window's view to the be the widget's native object. self.native.contentView = widget.native. the assignment to contentView invokes, ...
Read more >
SplitContainer.SplitterDistance Property - Microsoft Learn
Gets or sets the location of the splitter, in pixels, from the left or top edge of the SplitContainer.
Read more >
music21.stream.base - MIT
This is the fundamental container for Music21Objects; objects may be ordered and/or placed in time based on offsets from the start of this ......
Read more >
Divide Width - Tailwind CSS
The divide width scale inherits its values from the borderWidth scale by default, so if you'd like to customize your values for both...
Read more >
1. Box positioning in CSS - Books at mixu.net
At the core, CSS layout is about mapping a set of HTML elements to a set of ... if a block container box...
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