Describe the bug
The toolbar of the GraphViewer is a bit too wide to handle situations, where you set the aspect ratio of plots to 1.
To Reproduce
Steps to reproduce the behavior:
Create a simple plot like plot sin(x) -set reset aspect=1
See the truncated toolbar
Expected behavior
The toolbar should be either less wide or the window size should be increased to handle that correctly.
Screenshots
Desktop (please complete the following information):
OS: 10x64
Version v1.1.5.2303
Additional context
Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
First thing to be done is to make the wxTextCtrl smaller in void wxMGL::InitializeToolbar() in wx.cpp, because it is far wider than actually needed. It might also be helpful to set a minimal window size for the GraphViewer, but that might require that the other dimension of the window is adapted accordingly.
DESCRIPTION
Describe the bug The toolbar of the GraphViewer is a bit too wide to handle situations, where you set the aspect ratio of plots to 1.
To Reproduce Steps to reproduce the behavior:
plot sin(x) -set reset aspect=1
Expected behavior The toolbar should be either less wide or the window size should be increased to handle that correctly.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
First thing to be done is to make the
wxTextCtrl
smaller invoid wxMGL::InitializeToolbar()
inwx.cpp
, because it is far wider than actually needed. It might also be helpful to set a minimal window size for the GraphViewer, but that might require that the other dimension of the window is adapted accordingly.IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST