Re: horizontal space problem with paragraphs (due to listitem plugin?)

"Nickolay V. Shmyrev" <[email protected]>
Newsgroups gmane.editors.conglomerate.devel
Message-ID <[email protected]>
В Вск, 17/10/2004 в 11:19 -0400, Douglas Burke пишет:
> Nikolay,
> 
> Your updated patch fixed the expander problem - thanks. I have noted
> another problem with the attached document. Can you check this out.
> 
>  open up the document
>  go to the calloutlist at the end of the example
>  close/unexpand one of the callout tags. Things are okay.
>  close the other one. at this point I find that both callout items
>    jump to the right and stay there.
> 
> Thanks for your time,
> Doug
> 

Well, number of problems remain. The way to debug it - change

#define DEBUG_REQUISITIONS 0
#define DEBUG_ALLOCATIONS 0
#define DEBUG_RENDER_ALLOCATIONS 0
#define DEBUG_RENDERING 0

in cong-editor-area.c. Another problem I see is that after expanding
editor window and then change it's size to smaller, the widget won't be
collapsed with window, but will have maximum width. The patch above fix
this problem - if document contains only paragraph and structural areas
all would be fine, but conglomerate/examples/test-docbook.xml shows this
problem nicely.

The main idea of this patch is the following: Currently many editor
areas returns width_hint as requisition, but the really should calculate
their requisition and return it, the width hint can only be used for
vertical requisition calculation, not in horizontal one.

I'am trying to build WidgetPlayground branch to start merging it, so the
solution of such problems ought to be delayed until we get correct
widget arch.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.