aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_lib.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-05-03 13:43:35 +0200
committerDan Gudmundsson <[email protected]>2016-05-04 13:06:59 +0200
commit2ce3cea4c046f6b642847d02c956a7484f96b7a7 (patch)
treea415f213e9280e3676adfa655781f16bca847e61 /lib/observer/src/observer_lib.erl
parent715915f811196fc33983f924bf3e91d5745692c1 (diff)
downloadotp-2ce3cea4c046f6b642847d02c956a7484f96b7a7.tar.gz
otp-2ce3cea4c046f6b642847d02c956a7484f96b7a7.tar.bz2
otp-2ce3cea4c046f6b642847d02c956a7484f96b7a7.zip
observer: Remove ignored alignment flag
Causes error reports on wxWidgets-3.1 backend
Diffstat (limited to 'lib/observer/src/observer_lib.erl')
-rw-r--r--lib/observer/src/observer_lib.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/observer/src/observer_lib.erl b/lib/observer/src/observer_lib.erl
index 5d5ac37ce9..bf651896a3 100644
--- a/lib/observer/src/observer_lib.erl
+++ b/lib/observer/src/observer_lib.erl
@@ -432,12 +432,12 @@ create_box(Panel, {scroll_boxes,Data}) ->
{OuterBox, Boxes};
create_box(Parent, Data) ->
- {Title, Align, Info} = get_box_info(Data),
+ {Title, _Align, Info} = get_box_info(Data),
Top = wxStaticBoxSizer:new(?wxVERTICAL, Parent, [{label, Title}]),
Panel = wxPanel:new(Parent),
Box = wxBoxSizer:new(?wxVERTICAL),
LeftSize = get_max_width(Panel,Info),
- RightProportion = [{flag, Align bor ?wxEXPAND}],
+ RightProportion = [{flag, ?wxEXPAND}],
AddRow = fun({Desc0, Value0}) ->
Desc = Desc0++":",
Line = wxBoxSizer:new(?wxHORIZONTAL),