[GNC] UI Problem with 4.14

Adrien Monteleone adrien.monteleone at lusfiber.net
Thu Dec 7 16:09:13 EST 2023


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.

Regards,
Adrien



More information about the gnucash-user mailing list