From 11f4e81fa1b171065734c60cf32e93516f5dd6c1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 10 Dec 2023 14:58:28 +1100 Subject: [PATCH] param: bit better alignment in editor --- MAVProxy/modules/mavproxy_paramedit/param_editor_frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAVProxy/modules/mavproxy_paramedit/param_editor_frame.py b/MAVProxy/modules/mavproxy_paramedit/param_editor_frame.py index b0ae58b137..a6fdcd9ad4 100755 --- a/MAVProxy/modules/mavproxy_paramedit/param_editor_frame.py +++ b/MAVProxy/modules/mavproxy_paramedit/param_editor_frame.py @@ -97,7 +97,7 @@ def __init__(self, *args, **kwds): self.ro_attr = wx.grid.GridCellAttr() self.ro_attr.SetReadOnly(True) self.ce_attr = wx.grid.GridCellAttr() - self.ce_attr.SetAlignment(hAlign=wx.ALIGN_CENTER, vAlign=wx.ALIGN_CENTER) + self.ce_attr.SetAlignment(hAlign=wx.ALIGN_CENTER, vAlign=wx.ALIGN_TOP) self.display_list.SetColAttr(PE_PARAM, self.ro_attr) self.display_list.SetColAttr(PE_UNITS, self.ro_attr) self.display_list.SetColAttr(PE_DESC, self.ro_attr)