aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-05-04 14:20:17 +0200
committerDan Gudmundsson <[email protected]>2016-05-04 14:20:17 +0200
commitf2e56680871c68dd7086c280ae1c78b7da5a6167 (patch)
tree766f4de13322cbdf3d300e2d8367c54630e43346 /lib/observer
parent2ce3cea4c046f6b642847d02c956a7484f96b7a7 (diff)
downloadotp-f2e56680871c68dd7086c280ae1c78b7da5a6167.tar.gz
otp-f2e56680871c68dd7086c280ae1c78b7da5a6167.tar.bz2
otp-f2e56680871c68dd7086c280ae1c78b7da5a6167.zip
Fix left column text width
Add extra space for ":" which is not accounted for size calculation.
Diffstat (limited to 'lib/observer')
-rw-r--r--lib/observer/src/observer_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_lib.erl b/lib/observer/src/observer_lib.erl
index bf651896a3..c6a1c73c83 100644
--- a/lib/observer/src/observer_lib.erl
+++ b/lib/observer/src/observer_lib.erl
@@ -436,7 +436,7 @@ create_box(Parent, Data) ->
Top = wxStaticBoxSizer:new(?wxVERTICAL, Parent, [{label, Title}]),
Panel = wxPanel:new(Parent),
Box = wxBoxSizer:new(?wxVERTICAL),
- LeftSize = get_max_width(Panel,Info),
+ LeftSize = 30 + get_max_width(Panel,Info),
RightProportion = [{flag, ?wxEXPAND}],
AddRow = fun({Desc0, Value0}) ->
Desc = Desc0++":",