diff options
author | Sverker Eriksson <[email protected]> | 2017-03-15 16:00:20 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-03-22 15:27:17 +0100 |
commit | 68091d358305c90240976ff0c6bf297ec07307dd (patch) | |
tree | 2dc9be2fbb52d371b9f63cd12e95013b716b28a7 /lib/observer/src | |
parent | ec5510e2a1a10c3d794103946d48434504038056 (diff) | |
download | otp-68091d358305c90240976ff0c6bf297ec07307dd.tar.gz otp-68091d358305c90240976ff0c6bf297ec07307dd.tar.bz2 otp-68091d358305c90240976ff0c6bf297ec07307dd.zip |
observer: Polish Table Viewer tab
to adapt to new ref table identifiers.
I moved the "Table Id" column last.
Diffstat (limited to 'lib/observer/src')
-rw-r--r-- | lib/observer/src/observer_tv_wx.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/observer/src/observer_tv_wx.erl b/lib/observer/src/observer_tv_wx.erl index 4356cb890c..d04fb839c8 100644 --- a/lib/observer/src/observer_tv_wx.erl +++ b/lib/observer/src/observer_tv_wx.erl @@ -78,11 +78,11 @@ init([Notebook, Parent]) -> Col + 1 end, ListItems = [{"Table Name", ?wxLIST_FORMAT_LEFT, 200}, - {"Table Id", ?wxLIST_FORMAT_RIGHT, 100}, {"Objects", ?wxLIST_FORMAT_RIGHT, 100}, {"Size (kB)", ?wxLIST_FORMAT_RIGHT, 100}, {"Owner Pid", ?wxLIST_FORMAT_CENTER, 150}, - {"Owner Name", ?wxLIST_FORMAT_LEFT, 200} + {"Owner Name", ?wxLIST_FORMAT_LEFT, 200}, + {"Table Id", ?wxLIST_FORMAT_LEFT, 250} ], lists:foldl(AddListEntry, 0, ListItems), wxListItem:destroy(Li), @@ -387,8 +387,8 @@ update_grid2(Grid, #opt{sort_key=Sort,sort_incr=Dir}, Tables) -> ({Col, Val}) -> wxListCtrl:setItem(Grid, Row, Col, observer_lib:to_str(Val)) end, - [{0,Name}, {1,Id}, {2,Size}, {3, Memory div 1024}, - {4,Owner}, {5,RegName}]), + [{0,Name}, {1,Size}, {2, Memory div 1024}, + {3,Owner}, {4,RegName}, {5,Id}]), Row + 1 end, ProcInfo = case Dir of |