diff options
author | Dan Gudmundsson <[email protected]> | 2016-05-04 14:20:17 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-05-04 14:20:17 +0200 |
commit | f2e56680871c68dd7086c280ae1c78b7da5a6167 (patch) | |
tree | 766f4de13322cbdf3d300e2d8367c54630e43346 /lib/observer/src/observer_lib.erl | |
parent | 2ce3cea4c046f6b642847d02c956a7484f96b7a7 (diff) | |
download | otp-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/src/observer_lib.erl')
-rw-r--r-- | lib/observer/src/observer_lib.erl | 2 |
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++":", |