-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[webcanvas] implement TWebCanvas::SetCanvasSize
#13268
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
Conversation
Not only canvas pixel size, but also browser window size is now received from the client. It is stored in fWindowGeometry vector, which indicates last receieved geometry from the client
It lets configure fixed pixel size of canvas drawing, which then propagated to client. On the client there is menu item which allow to toggle auto-resize flag.
Just configure top HTML element to have fixed geometry or adjust content to widget sizes. Inform canvas painter if changing flag via context menu
Main parameters are window position and size, canvas sizes fCw and fCh are derived and depends from actual rendering
Plus latex support in 3D and "bare1" draw option for TH1
Sonatype Lift is retiringSonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console. |
Starting build on |
Build failed on ROOT-ubuntu2004/python3. Failing tests: |
Build failed on windows10/cxx14. Failing tests: |
Let select file name like in OpenFile dialog
Starting build on |
Build failed on ROOT-ubuntu2004/python3. Failing tests: |
Build failed on mac11/noimt. Failing tests: |
Build failed on ROOT-debian10-i386/soversion. Failing tests: |
Implement proper handling of canvas window size and canvas drawing area size.
By default web browser with given window size/position will be started. Depending from context menu,
status line, other layout components drawing area will be reduced to some value and always adjust to that area.
With the call
TCanvas::SetCanvasSize(width,height)
one can fix drawing area to exact value, which does not change with web browser resize. One can toggle state either with context menu or by calling ``c1->SetCanvasSize(0,0)`.All browser window position/size changes are reflected in the TCanvas members
Provide JSROOT with new resize logic, also includes support of TLatex in 3D plots