Description: The dropdown boxes in the Tools->Options->Appearance page do not scale to fit the longest text possible. This results in cropped text. Steps to Reproduce: 1. Open LibreOffice and go to Tools->Options->Appearance 2. Make sure you have some custom themes installed such as Office 2003 Blue, or just look at the dropdown below under Icons Actual Results: Notice that the dropdown crops the text and does not scale to fit the whole text displayed. See screenshot attached. Expected Results: When opening the dialog, the dropdown boxes should automatically be resized to fit the longest text from thier respective options. Reproducible: Always User Profile Reset: No Additional Info: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a06689b1711e1f200afd4a4492341f337ba99082 CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win Locale: ro-RO (ro_RO); UI: en-US Calc: CL threaded
Created attachment 201410 [details] Dropdown size cropped
Won't this be very dependent users on os/DE UI element scaling? On Windows at 100% text size, or 100% display scale--NO Issues (if anything the dialogs are too wide). Only when Accessibility 'Text Size' is increased past 175%, or when System -> Display is increased past 250%, or a mix with Custom scaling, does the text even come close to overflowing the scaled size of the listbox and button. Your clip shows a rather high ration of text size to UI scale. What os/DE and how have you set scaling?
(In reply to V Stuart Foote from comment #2) > Won't this be very dependent users on os/DE UI element scaling? > > On Windows at 100% text size, or 100% display scale--NO Issues (if anything > the dialogs are too wide). > > Only when Accessibility 'Text Size' is increased past 175%, or when System > -> Display is increased past 250%, or a mix with Custom scaling, does the > text even come close to overflowing the scaled size of the listbox and > button. > > Your clip shows a rather high ration of text size to UI scale. What os/DE > and how have you set scaling? You're right. My laptop has a resolution of 2880 x 1800 with 200% scaling on Windows 11. On 100% scaling the dropdown widths are ok. It seems that we need to calculate the width in regards to the font size and/or scaling factor to determine the right width.