Specify panel size for new TBrowser


ROOT Version: 6.32.02
Platform: Linux
Compiler: linuxx8664gcc

TBrowser *b = new TBrowser(“myBrowser”, “Need-to-specify-panel-size”, 2048, 1152);

With the line above I can open a new TBrowser with a window of a specified size. In addition, I would like to specify the size of the left panel which lists files. That panel is too narrow and I have to adjust its size every time I open a new TBrowser window. Unfortunately, the sweet spot for grabbing the panel edge is too narrow and it’s a pain to do this every time a new window is opened. Is there a way to specify the left panel size when creating a new TBrowser? Suggestions on the web must refer to old versions of ROOT and do not work for 6.32.02.


Hi,

This is not yet implemented.
But I will provide solution soon in the master branch.

Regards,
Sergey

… I will provide solution soon in the master branch.

Excellent! Many thanks.

Milind

Here is changes in ROOT master: