On Sat, Jun 25, 2016 at 11:41 PM, Richard Heck <rgh...@lyx.org> wrote: > On 06/25/2016 04:55 PM, Jean-Marc Lasgouttes wrote: >> Le 25/06/2016 22:37, Guillaume Munch a écrit : >>> Le 25/06/2016 19:15, Richard Heck a écrit : >>>> >>>> For now, the branch is here: >>>> http://git.lyx.org/?p=developers/rgheck/lyx.git;a=shortlog;h=refs/heads/features/CustomInsets >>>> >>>> >>>> >>> >>> If you are satisfied with it then you could commit it, I think. >>> What is your plan? >> >> Another possibility would be that the Insets toolbar tag inserts a >> series of icons. One would just have to provide the relevant icons. >> This is a better UI that a Combox IMO. The difficulty here is not the >> code, but providing correct icons. >
> But then it doesn't work with non-LyX-provided insets, i.e., ones you > make yourself. If you had a lot of such insets, this would get very > messy, too. > I would agree. Also, icons would work when having only a limited number of custom insets available --- but if using various modules the list becomes as populated as the Styles, then icons might ultimately prove more cumbersome. As for the availability of icons, if no icon is present (i.e. homebrewed module) then presumably the text will be used alternatively, and currently some custom insets have very verbose names so screen real estate will be an issue. Personally I like the idea of making custom insets be UI-wise as similarly as possible to the Style combobox, since the two perform conceptually similar functions (at least from the perspective of the end user). Liviu > I'd be happy if it were done as an icon-based menu. As I've said, I just > don't know how to do that. > > Richard >