Opened 18 years ago

Closed 16 years ago

Last modified 15 years ago

#169 closed Enhancement (wontfix)

I suggest: some minor improvements/changes in wxGrid.

Reported by: Simek Owned by: romw
Priority: Minor Milestone: Undetermined
Component: Manager Version:
Keywords: grid, wxGrid Cc:

Description

I just start reading about wxWidgets, and I'm not sure of this improvements, but I think that might be correct.


Add line:

SetColMinimalAcceptableWidth(40);

to file:

boinc/clientgui/BOINCGridCtrl.cpp

in function:

void CBOINCGridCtrl::Setup() {

It set minimal width of column in Grid. The value maight by changed but I think it's needed.


Replace line:

SetRowLabelSize(1);

with:

SetRowLabelSize(0);

in file:

boinc/clientgui/BOINCGridCtrl.cpp

It change row width to "0". Why "1"? "0" isn't property value?


Add line:

SetSelectionMode(wxGrid::wxGridSelectRows);

to file:

boinc/clientgui/BOINCGridCtrl.cpp

in function:

void CBOINCGridCtrl::Setup() {

and delete line:

m_pGridPane->SetSelectionMode(wxGrid::wxGridSelectRows);

in files:

boinc/clientgui/ViewWorkGrid.cpp
boinc/clientgui/ViewMessagesGrid.cpp
boinc/clientgui/ViewProjectsGrid.cpp
boinc/clientgui/ViewTransfersGrid.cpp

Set select by click "row" globaly in main Grid setup, not in every panel/tab.

Change History (1)

comment:1 Changed 16 years ago by romw

Resolution: wontfix
Status: newclosed

The wxGrid based views will be removed for 6.4+

Note: See TracTickets for help on using tickets.