On Thu, 13 Jun 2002, John Levon wrote: > 1.3 is still some time away. I think the biggest issues with such an > inset are UI interaction ones.
Now is the time to do it right. That was why the patch was blocked for 1.2.x. > I bet this isn't actually that hard. A first iteration could even use a > button, and a mini-dialog a la insetlabel.[hC]. > > A good start would be cp insetlabel.C insetshorttitle.C or something. Please no. Not another silly little dialog. How about a context-sensitive menu (CSM) -- right-click on a Section paragraph -- I think the UI files (eg. default.ui) can handle defining such menus can't they? The CSM then allows you to switch style of InsetSection: Short entry Long entry <= maybe "Regular", "Default" or "Main"? Both Closed The result being respectively (X.Y is the section number): [X.Y][Long] Short title. [X.Y][Short] The long title. [X.Y][Short title.] The long title. [X.Y] If no short title has been set then the button isn't shown. [X.Y] The long title without a short entry. The above are essentially inline renderings of a double-buttoned collapsible inset except the second (ie. inner) button label is changable. As you can see from the [X.Y] button I'm thinking the extension of this scheme is to collapse document structure as well. I'm thinking that would be achieved by: [X.Y] Long Title ________________ | [InsetText] | ----------------------------------- So clicking on [X.Y] button collapses the inset just like other collapsible insets. I'd like an InsetSection to use an InsetShortAndLongNames (or some other less hideous description) as then that ISALN can also be used for an improved InsetCaption. Doesn't look that difficult to do. And since it's only Friday and the developers meeting has just started it'll probably be improved upon and coded by Asger before Denmark beat England in tomorrow's World Cup match. Allan. (ARRae)