Re: Some thoughts about minipage-insets!

2001-03-16 Thread Lars Gullik Bjønnes

Juergen Vigna [EMAIL PROTECTED] writes:

| Now that we have NEW_INSETS as default we should also try to make them
| working correctly. Let's do this one for one. This about InsetMinipage!
| 
| 1. A Minipage HAS to have a lenght! So when creating a minipage we should
|be forced to fill out some default parameters so that we don't get errors.

Yes... I am working on this.
 
| 2. (1) can also be solved by automatically setting the percentage of width
|fill to 100% (so that it automatically spans the whole page width).

Yes, but we need to be able to put in specific lengths as well "2cm".
 
| 3. Minipages shouldn't be collapsable or at least we should change the
|painting of an open minipage so that there is no "minipage" label on
|the right side which takes away needed horizontal screen space.
|Maybe we should put the label on the top-right (or left) corner
|depending on the surrounding rigth2left/left2right setting.

I disagree. they should be collapsable, but should not be collapsed by
default. 
Something can be done about the label though.
 
| 4. We need a dialog for all the minipage options (is there a volonteer on
|the xforms-base to make the base for this, otherwise I will have to make
|it, but IMO Angus would be a lot faster) I can design the dialog and
|commit the .fd file if that is requested.

Yes this is needed.
 
| 5. We have to define a mode to open this types of dialogs (we already use
|right-mouse-click for tabulars, but is this wanted?)

As you can see with all collapsable insets they have a problem... when
opeing a collapsed inset and the inset contain a label, graphics
whatever the label's edit is executed.
 
| 6. The default when creating or converting a new collapsable inset should
|be that the inset is open!

yes, perhaps.
 
| 7. We have draw problems with this type of insets (% of page width where
|for now % is always 100%, but that really doesn't matter).

mmm
 
| 8. IMO also collapsed minipages should always span the same horizontal
|space so that the document structure is held.
 
| That's all what I can remember right now. Let me know. I'll have a look at
| this because a lot of this is connected to the InsetText (drawing) so maybe
| I'm the one who is fasted to fix problems.

the drawing problems certainly.

Lgb



Re: Some thoughts about minipage-insets!

2001-03-16 Thread Angus Leeming

 | 4. We need a dialog for all the minipage options (is there a volonteer on
 |the xforms-base to make the base for this, otherwise I will have to 
make
 |it, but IMO Angus would be a lot faster) I can design the dialog and
 |commit the .fd file if that is requested.
 
 Yes this is needed.

Jürgen, if you send me the .fd file, I'm sure that this will take no time at 
all. 

It'd be really nice if you'd provide an InsetMinipageParams struct too. DOn't 
know if this exists yet; haven't looked at the code!

Angus



Re: Some thoughts about minipage-insets!

2001-03-16 Thread Lars Gullik Bjønnes

Angus Leeming [EMAIL PROTECTED] writes:

|  | 4. We need a dialog for all the minipage options (is there a volonteer on
|  |the xforms-base to make the base for this, otherwise I will have to 
| make
|  |it, but IMO Angus would be a lot faster) I can design the dialog and
|  |commit the .fd file if that is requested.
|  
|  Yes this is needed.
| 
| Jrgen, if you send me the .fd file, I'm sure that this will take no time at 
| all. 
| 
| It'd be really nice if you'd provide an InsetMinipageParams struct too. DOn't 
| know if this exists yet; haven't looked at the code!

Note that a dialog for float params is also needed.
(and one for user generation of new floats, but that is not that
important yet.)

Lgb



Re: Some thoughts about minipage-insets!

2001-03-16 Thread Juergen Vigna


On 16-Mar-2001 Angus Leeming wrote:

 Jrgen, if you send me the .fd file, I'm sure that this will take no time at 
 all. 

You won't believe it but I already implemented this Form :)

 It'd be really nice if you'd provide an InsetMinipageParams struct too. DOn't 
 know if this exists yet; haven't looked at the code!

No I don't have such a Params structure, we'll have to look how we can
clean this up! As soon as I can visualize the dialog I'll commit it and
hand it over to you to make it better :)

  Jrgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jrgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

I'm still waiting for the advent of the computer science groupie.




Re: Some thoughts about minipage-insets!

2001-03-16 Thread Lars Gullik Bjønnes

Juergen Vigna <[EMAIL PROTECTED]> writes:

| Now that we have NEW_INSETS as default we should also try to make them
| working correctly. Let's do this one for one. This about InsetMinipage!
| 
| 1. A Minipage HAS to have a lenght! So when creating a minipage we should
|be forced to fill out some default parameters so that we don't get errors.

Yes... I am working on this.
 
| 2. (1) can also be solved by automatically setting the percentage of width
|fill to 100% (so that it automatically spans the whole page width).

Yes, but we need to be able to put in specific lengths as well "2cm".
 
| 3. Minipages shouldn't be collapsable or at least we should change the
|painting of an open minipage so that there is no "minipage" label on
|the right side which takes away needed horizontal screen space.
|Maybe we should put the label on the top-right (or left) corner
|depending on the surrounding rigth2left/left2right setting.

I disagree. they should be collapsable, but should not be collapsed by
default. 
Something can be done about the label though.
 
| 4. We need a dialog for all the minipage options (is there a volonteer on
|the xforms-base to make the base for this, otherwise I will have to make
|it, but IMO Angus would be a lot faster) I can design the dialog and
|commit the .fd file if that is requested.

Yes this is needed.
 
| 5. We have to define a mode to open this types of dialogs (we already use
|right-mouse-click for tabulars, but is this wanted?)

As you can see with all collapsable insets they have a problem... when
opeing a collapsed inset and the inset contain a label, graphics
whatever the label's edit is executed.
 
| 6. The default when creating or converting a new collapsable inset should
|be that the inset is open!

yes, perhaps.
 
| 7. We have draw problems with this type of insets (% of page width where
|for now % is always 100%, but that really doesn't matter).

mmm
 
| 8. IMO also collapsed minipages should always span the same horizontal
|space so that the document structure is held.
 
| That's all what I can remember right now. Let me know. I'll have a look at
| this because a lot of this is connected to the InsetText (drawing) so maybe
| I'm the one who is fasted to fix problems.

the drawing problems certainly.

Lgb



Re: Some thoughts about minipage-insets!

2001-03-16 Thread Angus Leeming

> | 4. We need a dialog for all the minipage options (is there a volonteer on
> |the xforms-base to make the base for this, otherwise I will have to 
make
> |it, but IMO Angus would be a lot faster) I can design the dialog and
> |commit the .fd file if that is requested.
> 
> Yes this is needed.

Jürgen, if you send me the .fd file, I'm sure that this will take no time at 
all. 

It'd be really nice if you'd provide an InsetMinipageParams struct too. DOn't 
know if this exists yet; haven't looked at the code!

Angus



Re: Some thoughts about minipage-insets!

2001-03-16 Thread Lars Gullik Bjønnes

Angus Leeming <[EMAIL PROTECTED]> writes:

| > | 4. We need a dialog for all the minipage options (is there a volonteer on
| > |the xforms-base to make the base for this, otherwise I will have to 
| make
| > |it, but IMO Angus would be a lot faster) I can design the dialog and
| > |commit the .fd file if that is requested.
| > 
| > Yes this is needed.
| 
| Jürgen, if you send me the .fd file, I'm sure that this will take no time at 
| all. 
| 
| It'd be really nice if you'd provide an InsetMinipageParams struct too. DOn't 
| know if this exists yet; haven't looked at the code!

Note that a dialog for float params is also needed.
(and one for user generation of new floats, but that is not that
important yet.)

Lgb



Re: Some thoughts about minipage-insets!

2001-03-16 Thread Juergen Vigna


On 16-Mar-2001 Angus Leeming wrote:

> Jürgen, if you send me the .fd file, I'm sure that this will take no time at 
> all. 

You won't believe it but I already implemented this Form :)

> It'd be really nice if you'd provide an InsetMinipageParams struct too. DOn't 
> know if this exists yet; haven't looked at the code!

No I don't have such a Params structure, we'll have to look how we can
clean this up! As soon as I can visualize the dialog I'll commit it and
hand it over to you to make it better :)

  Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

I'm still waiting for the advent of the computer science groupie.