Rob Walker writes:
> I newly found some functionality while working with this. I was
> resizing my fields in my register. (I was also wishing one could
> double click on the resize bar, and it would resize to the smallest
> size possible which showed the values) I was in one of my stock
> registers, and I resized the description field (almost all of them are
> "Price", and the Transfer From field got resized down so I could
> barely see the header. Then, the sold and bought fields almost never
> get any thing in them, and when they do, it is pretty small values, so
> I resized it to be smaller. Shazam! All of the following fields got
> smaller, too! I couldn't believe it. I resized bigger, and all of
> them got bigger. Including the Balance field.
>
> This is odd behaviour indeed! Could this be why we couldn't resize
> the Balance field on its' own?
The header resizing stuff is my code, and the overall behaviour is in
fact quite odd. However, the code that is in the current big patch is
fairly old, and in my local copy I've made several improvements and
bug fixes. In particular, I've fixed the bug that prevents the
Balance field from being resized, and I've fiddled around with how the
other fields are resized when the user resizes a given field, and I've
added functionality that allows double clicks on a resize bar to
auto-resize the column. What I lack at the moment is time to get my
code incorporated into Dave's big patch, but as soon as I can find the
time, it'll go out immediately.
The problem you mentioned about the Transfer From column is a
combination of a bug and fundamental but fairly technical problem in
the gnome canvas that I have not figured out how to work around yet.
Regarding the price/?/balance fields, these are set up so that they
must always have the same size (except for more odd behaviour). I can
change this if it's not the right thing to do.
Here's a question: as it is designed currently, there are two columns
(Transfer From and Description) that automatically shrink/grow when
the register window is resized so that the register fills the window
as well as can be arranged. What should happen when the user resizes
the Description field, for example? Should it be forever fixed at
that width ? Or should it still automatically shrink/grow ? If it
doesn't shrink/grow, we'll get ugly white space on the right if the
register window is enlarged, and ugly horizontal scrollbars if the
window is made smaller. But if it's not fixed, the user will get
annoyed when the description field gets smaller than he/she resized it
to be. Ideas ?
Best Regards,
Heath Martin
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]