On Wednesday 01 May 2002 10:35 am, R. Lahaye wrote:
> Angus Leeming writes:
> > On Tuesday 30 April 2002 8:42 pm, Herbert Voss wrote:
> > > > On Tuesday 30 April 2002 2:33 pm, R. Lahaye wrote:
> > > >>This patch includes this and it makes the US page sizes
> > > >>consistent; of the form "US [type]", in both, Preferences and
> > > >>Document Layout.
> > > >
> > > > Nice work. Applied in my tree.
> > >
> > > are you sure, that there are no problems with the space, because
> > > preferences is valid in all parts of LyX?
> > >
> > > Herbert
> >
> > I've been taking my time for exactly this reason. It transpires that none
> > of the choices are used verbatim. Ie, the strings don't matter to LyX.
>
> It's actually like this: exchange "US letter" and "A4" in the list and
> you'll get the letter layout when clicking on A4, and v.v. Apparently
> only the order is important (A4 is number such and such in the list) and
> the real page size is picked from another list, number such and such.
>
> I wanted to synchronize the order of the page sizes in Preferences and
> Document Layout, but failed because I couldn't to find "the other list"
> with the real page sizes. We should change this setup, so that A4
> automatically connects to its A4 page size, without using its position
> in the page size list!
>
> Regards,
> Rob.

Indeed. Using the same mechanism as is used by f.ex the character dialog. 
(Receives a vector<pair<GUI string, value> > from it's controller.)

1.3
Angus

Reply via email to