Codechange: Add specific WidgetDimension for dropdown list window. (#11554)

This avoids contorting fullbevel dimensions.
This commit is contained in:
Peter Nelson
2023-12-07 16:10:09 +00:00
committed by GitHub
parent 89461b5561
commit 60565da8f9
3 changed files with 11 additions and 8 deletions

View File

@@ -49,6 +49,7 @@ struct WidgetDimensions {
RectPadding closebox;
RectPadding captiontext; ///< Offsets of text within a caption.
RectPadding dropdowntext; ///< Offsets of text within a dropdown widget.
RectPadding dropdownlist; ///< Offsets used by a dropdown list itself.
RectPadding modalpopup; ///< Padding for a modal popup.
RectPadding picker; ///< Padding for a picker (dock, station, etc) window.
RectPadding sparse; ///< Padding used for 'sparse' widget window, usually containing multiple frames.