Dekel Tsur wrote:

> On Mon, Mar 10, 2003 at 03:45:03PM +0000, Angus Leeming wrote:
>> > I would like to decrease the width of the lyx window (in order to view
>> > the PostScript and the lyx file side-by-side without overlap), but it
>> > does not want to go below a certain size.  Is it possible to change the
>> > minimum window size?
>> 
>> The xforms frontend has hard-coded limits because really nasty things
>> (segfaults) can happen if the widgets are larger than the available size.
> 
> Actually, the problem is that the window cannot be made smaller than its
> initial size (e.g. if you run lyx -geometry 800x600, you cannot make the
> window smaller than 800x600), at least on some window managers.
> This problem was not present in earlier version of LyX (I think it was
> introduced in LyX 1.2.0).

Sure. I hard coded it:
        fl_set_form_minsize(form, form->w, form->h);
The _reaon_ I did so was because of the possibilites of crashing LyX if the 
toolbars were longer than the size available to them. I _beieve_ that 
xforms 1.0 is more robust in this regard but I haven't tested.

-- 
Angus

Reply via email to