Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] sizing mode issue with layout and nested rows, columns #13784

Open
cdi-mflanner opened this issue Mar 26, 2024 · 1 comment
Open

[BUG] sizing mode issue with layout and nested rows, columns #13784

cdi-mflanner opened this issue Mar 26, 2024 · 1 comment

Comments

@cdi-mflanner
Copy link

Software versions

Python version : 3.11.8 (main, Mar 18 2024, 14:53:19) [GCC 7.5.0]
IPython version : 8.8.0
Tornado version : 6.2
Bokeh version : 3.4.0
node.js version : (not installed)
npm version : (not installed)
jupyter_bokeh version : (not installed)
Operating system : Linux-5.4.0-1106-gcp-x86_64-with-glibc2.27

Browser name and version

No response

Jupyter notebook / Jupyter Lab version

No response

Expected behavior

figure to stretch width to accommodate nested layout

Observed behavior

layout issue can be observed on bokeh website; see url and scroll to multiple object plot

Example code

# plot scales to original aspect ratio based on available width
plot = figure(..., sizing_mode="scale_width")

# slider fills all space available to it
amp = Slider(..., sizing_mode="stretch_both")
## NOTE: This is not a fully reproducible example, this is pulled directly from the bokeh community website. 
# fixed sized for the entire column
widgets = column(..., sizing_mode="fixed", height=250, width=150)

# heading fills available width
heading = Div(..., height=80, sizing_mode="stretch_width")

# entire layout fills all space available to it
layout = column(heading, row(widgets, plot), sizing_mode="stretch_both")

Stack traceback or browser console output

No response

Screenshots

Again, this is pulled from the bokeh community website
image

@muendlein
Copy link
Contributor

See #13077

@mattpap mattpap modified the milestones: 3.4.1, 3.5 Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants