Page MenuHome

The Object Mode drop down menu in the 3D viewports is not reactive to larger font point settings.
Confirmed, NormalPublicKNOWN ISSUE

Description

System Information
Operating system: Windows 10 1803
Graphics card: nVidia RTX 2070

Blender Version
Broken: v 2.80 as found on the splash screen

The Object Mode drop down menu in the 3D viewports does not properly resize itself if the user picks a larger font point size in the Themes section of the preferences. Instead of resizing the control truncates the overrunning text with a square character.

Exact steps for others to reproduce the error
Start Blender
In Preferences \Themes \ Text Style change the Widget Points setting from the default of 11 to a larger value. I used 15.

Event Timeline

Germano Cavalcante (mano-wii) lowered the priority of this task from 90 to 30.Oct 16 2019, 8:03 PM

I could not reproduce the problem.
In my case appears .. which seems to be a reasonable way to indicate that there is more text in front.

Can you better describe how you got that result?

Sure. I changed the UI font to Segoe UI, as I'm on Windows and I find that font easier to read (50 year old eyes). I raised the font size to make everything a bit easier for me to resolve on my 35" 2560 x 1440 monitor. I was hoping the mode dropdown would resize horizontally to fit the full string "Object Mode", but the UI is not that dynamic. It would be nice if it was.

Philipp Oeser (lichtwerk) raised the priority of this task from 30 to 80.Nov 15 2019, 10:39 AM

Usually dropdown boxes scale with the widget font size.

However in this case, this is explicitly constrained to a fixed size, see https://developer.blender.org/diffusion/B/browse/master/release/scripts/startup/bl_ui/space_view3d.py$557

@William Reynish (billreynish) : any particular reason we are doing this? (if I scale the Widget Font size I see all sorts of enum dropdown scale happily with the font, I dont see why we need an exception here?)

Richard Antalik (ISS) changed the task status from Needs Information from Developers to Confirmed.Jan 10 2020, 6:50 PM

Can confirm this with SegoeUI font and scaled interface on multiple places.


Note that the Segoe UI font, like almost all fonts, does have the “horizontal ellipsis” character that should be used for continuation character. But it, like many fonts, does not have the “two dot leader” character we are using for continuation, hence why you get that white block “tofu” character.

We are using this incorrect character just because the ellipsis in our default fonts is too wide. That character’s width is corrected in the following patch: https://developer.blender.org/D6055

Bastien Montagne (mont29) changed the subtype of this task from "Report" to "Known Issue".Jan 15 2020, 5:38 PM