Opened 10 years ago

Last modified 10 years ago

#11156 confirmed New Feature

Increase the default width of Font Size combo

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: 4.0
Keywords: Cc:

Description (last modified by Wiktor Walc)

Note: this is a separate issue than #6162

When I test CKEditor in language other than English, the Size combo looks really ugly. Only two letters, or even one letter (in case of e.g. Japanese language) is displayed as a label for it. It's hard to understand what's there.

It's a little bit hard for me to agree that a solution for it is to ask anyone using non-English interface to manipulate CSS styles in order to have a nice-looking toolbar. Such basic functionality should be rather provided out of the box.

At the same time, we have 3 combos already with the same width: 60px, instead of 30px. If we changed the size of the "Size" combo to unify it with the rest, the problem with meaningless label would be solved.

Current width:

Proposed width:

Attachments (2)

current_width.png (4.5 KB) - added by Wiktor Walc 10 years ago.
proposed_width.png (4.9 KB) - added by Wiktor Walc 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by Wiktor Walc

Attachment: current_width.png added

Changed 10 years ago by Wiktor Walc

Attachment: proposed_width.png added

comment:1 Changed 10 years ago by Wiktor Walc

Description: modified (diff)

comment:2 Changed 10 years ago by sirtet

I'd say this IS actually the same root problem as #6162, and i agree, it's really bad to leave the fix to the users.

I believe to make all the combo-boxes variable width would be the cleanest solution.

comment:3 Changed 10 years ago by Jakub Ś

Status: newconfirmed

@wwalc I agree that we can make font-size dropdown as wide as others thus I'm confirming this.

@sirtet I'm not sure about languages.
One approach is to make dropdown as wide as the widest element but then it will look bad for these languages that don't take only little space. IMO users would still want to modify dropdown width but this time they would want to decrease the width.
Making dropdown width auto could result in floating toolbar which we can't have.
I think the best solution is currently used - dropdown is adjusted to fit most languages and only few need adjustment thus this needs to be documented (as mentioned in #6162).

NOTE: Sure that we could introduce something language based but IMO this would be much work with little result and what is more word used can always be changed to something else and what then?

comment:4 Changed 10 years ago by Jakub Ś

#11514 was marked as duplicate.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy