[Gambas-user] Two minor "bugs"

Rolf-Werner Eilert eilert-sprachen at ...221...
Thu Feb 26 16:24:20 CET 2009


Ron_1st schrieb:
> On Wednesday 14 January 2009, Rolf-Werner Eilert wrote:
> 
>> Thinking it over, I still feel that it should be the programmer's choice 
>> what width the last column should have. Implementing it as an option 
>> (Property: LastColumnStretch or so) would be nice, although it would add 
>> to featurism of course.
>>
> I agree with this.
> A property to enable/disable the auto fill last column would be very nice
> 
> 
> 
>> But nobody else here seems to be interested in this topic, and nobody 
>> commented on my screenshots (or didn't the pictures get through?). So I 
>> don't want to overstress this.
>>
> I found the screenshot explaining it just the right way.
> 
>> On the other hand, imagine what this looks like when you start input 
>> within such a table: a column only a single letter wide or a few, and 
>> the input line reaches out so far to the right... That IS ugly, isn't it?
>>
>> Rolf
>>
> 
> 
> 
> Best regards,
> 
> Ron_1st
> 

Hi Ron,

just FYI, I found where it is and just switched it off. Here is what I did:

Download the source, unpack and ./configure.

Then look for <source-dir>/gb.qt/src/CGridView.cpp and open it in an 
editor. Look for

void MyTable::updateLastColumn()

and quote the line

	if (!_last_col_width)

as well as the two lines

	if (((columnPos(n) ...
		setColumnWidth(n, ...

by just setting a // at their beginnings.

Then make
and make install

and the feature has gone... :-)

Rolf




More information about the User mailing list