Docked View responsive size

Hello everyone,

I was reading the documentation about docked views and in the size parameter I see that pixels is used as a measure, I wanted to know if there is any way to use some other type of measure since I want the docked view to adjust itself to the size of its content.

For example, let's say that the content of the docked view has a label that says "Hello world" and the fontSize of this label is 5vmin, depending on the size of the screen in which this label is seen, its size will change, and for that reason I require that the docked view will auto adjust to the size of the label.

This is just an example but I hope you get my point across. Thanks in advance!

1 Like

I was wondering this myself... Because of an outage, I had to work from my laptop (instead of 24" HD monitor) and noticed that a lot of my 800px docks were taking up too much space on a smaller screen. I tried to set the dock size to 80% but it looks like the input gets sanitized and it turned into 80 after I saved.

I would be nice to be able to control a dock size and make it respond to screen width or height - definitely following this thread for resolutions or ideas...

1 Like

Yeah, I also tried to set the size to 20% and after pressing enter the value goes back to 20 pixels.

1 Like