Re: Size of box insets

2015-10-07 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > This looks like a good solution. > > Now that I think about it, what about fixed-width tabular cells ? Do they > have the same problem ? To me it's the same as in ERT, i.e. I can easily imagine very tiny content like one character so you don't want to set button

Re: Size of box insets

2015-10-07 Thread Jean-Marc Lasgouttes
Le 07/10/2015 10:10, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: This looks like a good solution. Now that I think about it, what about fixed-width tabular cells ? Do they have the same problem ? To me it's the same as in ERT, i.e. I can easily imagine very tiny content like one

Re: Size of box insets

2015-10-07 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > but spacing is, well, you know... Awesome, I know. P

Re: Size of box insets

2015-10-07 Thread Jean-Marc Lasgouttes
Le 07/10/2015 11:26, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: but spacing is, well, you know... Awesome, I know. P Naughty boy. You thought you would get away with it? JMarc

Re: Size of box insets

2015-10-07 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 07/10/2015 11:26, Pavel Sanda a écrit : >> Jean-Marc Lasgouttes wrote: >>> but spacing is, well, you know... >> >> Awesome, I know. P > > Naughty boy. You thought you would get away with it? Daddy, I promise to be better next time until I forget again :p P

Re: Size of box insets

2015-10-06 Thread Jean-Marc Lasgouttes
Le 06/10/2015 00:34, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Le 03/10/2015 01:27, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Why not do it in InsetText::Metrics directly? Is it a box-only problem? Hmm, is there another insettext which allows fixing to certain percentage of

Re: Size of box insets

2015-10-06 Thread Jean-Marc Lasgouttes
This looks like a good solution. Now that I think about it, what about fixed-width tabular cells ? Do they have the same problem ? Jmarc Le 6 octobre 2015 17:51:26 GMT+02:00, Pavel Sanda a écrit : >I can put it into InsetCollapsable for fixedwidth insets. For insettext >I do

Re: Size of box insets

2015-10-06 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > The code in IntextText::metrics does: > > // This can happen when a layout has a left and right margin, > // and the view is made very narrow. We can't do better than > // to draw it partly out of view (bug 5890). > if (mi.base.textwidth < 1) >

Re: Size of box insets

2015-10-05 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 03/10/2015 01:27, Pavel Sanda a écrit : >> Jean-Marc Lasgouttes wrote: >>> Why not do it in InsetText::Metrics directly? Is it a box-only problem? >> >> Hmm, is there another insettext which allows fixing to certain percentage >> of screen size width? Wrapping

Re: Size of box insets

2015-10-03 Thread Jean-Marc Lasgouttes
Le 03/10/2015 01:27, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Why not do it in InsetText::Metrics directly? Is it a box-only problem? Hmm, is there another insettext which allows fixing to certain percentage of screen size width? Wrapping float came to my mind but apparently it does

Re: Size of box insets

2015-10-02 Thread Jean-Marc Lasgouttes
Le 01/10/2015 03:32, Pavel Sanda a écrit : Hi, we currently rescale box inset on the screen accordingly to its output size. This creates troubles if you use very thin boxes (I often need to include ERT, so with single-char width of box it visually ends up as ten lines of single char per line).

Re: Size of box insets

2015-10-02 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Why not do it in InsetText::Metrics directly? Is it a box-only problem? Hmm, is there another insettext which allows fixing to certain percentage of screen size width? Wrapping float came to my mind but apparently it does not try to visualize the width set. No other

Re: Size of box insets

2015-10-01 Thread Pål Næverlid Sævik
I like your edit, often I have the same problem. Den 01.10.2015 03:32, skrev Pavel Sanda: Hi, we currently rescale box inset on the screen accordingly to its output size. This creates troubles if you use very thin boxes (I often need to include ERT, so with single-char width of box it