Hi!
I'm trying to simulate a diffraction grating for my pupils. I have two scrolled-canvas: one for displaying the spectrum as colors, and one for showing its intensity profile.
The problem is that I want to make the first one to have a specific height (no matter if the window gets maximized), and the other to get expanded, but all I can get is the two having always the same height. What am I doing wrong?
Thank you very much,
Luis
On Sat, Sep 09, 2017 at 03:02:25PM -0300, Luis López wrote:
Hi!
Hi!
I'm trying to simulate a diffraction grating for my pupils. I have two scrolled-canvas: one for displaying the spectrum as colors, and one for showing its intensity profile.
The problem is that I want to make the first one to have a specific height
have you tried:
(ltk:configure (canvas scrolled-canvas-instance) :height size)
Bye! C.
I haven't tried... now I tried and... it worked! :) Thank you so much!!!!
Luis
El sep 10, 2017 3:25 PM, "cage" cage@katamail.com escribió:
On Sat, Sep 09, 2017 at 03:02:25PM -0300, Luis López wrote:
Hi!
Hi!
I'm trying to simulate a diffraction grating for my pupils. I have two scrolled-canvas: one for displaying the spectrum as colors, and one for showing its intensity profile.
The problem is that I want to make the first one to have a specific height
have you tried:
(ltk:configure (canvas scrolled-canvas-instance) :height size)
Bye! C.