summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-10-14 16:31:55 -0600
committerSimon Glass <sjg@chromium.org>2024-10-18 14:10:22 -0600
commit54eca1d39bc980a7e99af53a5b32443d5774b1a0 (patch)
tree5c916e05eba224de4602a072a2ed2e3eeff67ac3 /tools/u_boot_pylib/test_util.py
parent18a85cf7b5da3b8fabfed809cc972f0b58279620 (diff)
expo: Place menu items to the right of all labels
At present a fixed position is used for menu items, 200 pixels to the right of the left side of the labels. This means that a menu item with a very long label may overlap the items. It seems better to calculate the maximum label width and then place the items to the right of all of them. To implement this, add a new struct to containing arrangement information. Calculate it before doing the actual arrangement. Add a new style item which sets the amount of space from the right side of the labels to left side of the items. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions