[GNC] UI Problem with 4.14

Manfred Usselmann manfred at usselmann.ch
Thu Dec 7 20:55:23 EST 2023


Am 2023-12-07 22:09, schrieb Adrien Monteleone:
> On 12/7/23 2:07 PM, Robert Heller wrote:
>> 
>> 
>> At Thu, 7 Dec 2023 13:46:19 -0600 adrien.monteleone at lusfiber.net 
>> wrote:
>> 
>>> 
>>> The Description column always fills the remaining width of the 
>>> window.
>>> 
>>> You adjust the other columns to your liking, then reduce the window
>>> width to shrink the Description column. Otherwise, you can after 
>>> setting
>>> the other columns, drag the right handle of the Description column to
>>> the left and let it bounce back to fill the remaining space.
>> 
>> So how do a make the columns to the right of the Description column 
>> wider?  Do
>> I drag them off the window?  This actually makes no sense.
> 
> Yes, that's how you do it, sort of. And if you try, it does make sense 
> as you see it happen.
> 
> For example, to widen the Account column, drag its right border to the 
> right. (up in the header) The column will widen accordingly, and you 
> will get a left-right scroll bar at the bottom of the window. Resize 
> all columns *other than* the description to your liking, *first*.
> 
> Then, to remove the scroll bar and size the Description to take up the 
> remaining space of the window, (Window Width - Sum of all *other* 
> Column Widths) drag its right-border to the left and let it snap back 
> into place. (hence it auto-sizes)
> 
>> OK, I am totally confused. How do I make a column to the right of the
>> Description wider *without* draging the right handle of the 
>> Description column
>> to the left?
> 
> See above.
> 
> I don't want to *shrink* the columns to the right of the
>> Description, I want to make one of them wider. How does one do that 
>> without
>> shrinking the Description column? Where does the space come from? How 
>> does one
>> add space?
> 
> You are 'adding width' as you resize the other columns which triggers a 
> scroll bar. You then snap the Description column back and the scroll 
> bar goes away.
> 
> What is happening is that there is some total window width W, which
>> is the sum of widths of all of the columns (plus the margin space). If 
>> one
>> wants to make some column Cx wider, some other collumn Cy needs to 
>> shrink, but
>> this is impossible if the only column that is "shrinkable" (Cy) is the
>> Description column. I can make columns to the *left* of the 
>> Description wider
>> or narrower, but not the columns to the right of the Description. Any 
>> attempt
>> to make any of them wider ends up making them all narrower until 
>> eventually
>> one (or more) of them end up with a width of 0. As far as I am 
>> concerned, this
>> is a bug (and a serious one at that). This makes no sense.
> 
> Yes it does - try it and stop thinking about it.
> 
>> 
>> I have the source code and will go hunting...
> 
> No need for that rabbit hole. Just follow the above. Note, this 
> behavior is described in the Help manual and as Stan noted, there is 
> also an FAQ entry about it. If you really want to see the code, go 
> right ahead, but you're just going to discover what I've described 
> above and is already documented behavior.
> 

There is one additional difficulty which is that there is no border line 
between the heading of the account column and the reconsiliation column. 
So it is easy to resize the reconciliation column when in reality you 
want to change the width of the account column...

There is also the possibility to double click on the right border of the 
column headings to adjust the column width in such a way that the 
content of the column becomes fully visible.

And as Adrien describes above, I can definitly make the columns on the 
right side of the description wider. If there is not enough space some 
columns or some part of a column becomes invisible and I get a 
horizontal scroll bar which allows me to scroll the whole window 
horizontally.

Regards,
Manfred





More information about the gnucash-user mailing list