gnome-shell/js/ui
Jonas Dreßler 80a869e768 dialogs: Use a smaller font-size if the title width exceeds the space
Since quite a few strings of dialogs provided by external programs are
not updated yet and the string freeze is already in effect, make sure we
don't break those dialogs by stripping aways large parts of the
headline.

To do that, detect if the title label is larger than the available width
and if it is, switch to a smaller font-size of 13pt. This makes sure we
still show about the same number of characters in the headline as we did
in previous releases.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1012
2020-02-17 21:42:05 +00:00
..
components Update hint texts of all entries 2020-02-17 11:03:07 +00:00
status status/system: Fix session submenu visibility 2020-02-04 14:40:44 +00:00
accessDialog.js dialog: Remove MessageDialogContent.body property 2020-01-15 00:17:25 +01:00
altTab.js altTab: Allow pressing uppercase keys to close apps and windows 2020-01-17 14:34:34 +00:00
animation.js animation: Scale animation actor for HiDPI 2020-01-30 14:28:45 +00:00
appDisplay.js appDisplay: Call super.vfunc_unmap last 2020-02-07 11:23:25 +00:00
appFavorites.js appFavorites: unbreak my previous commits 2019-12-20 13:59:53 +00:00
audioDeviceSelection.js audioDeviceSelection: Adapt to new dialog design 2020-01-27 23:40:04 +01:00
background.js background: Remove noise texture 2020-02-10 22:30:52 +00:00
backgroundMenu.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
barLevel.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
boxpointer.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
calendar.js calendar: Add "Do Not Disturb" switch 2020-01-22 21:55:28 +00:00
checkBox.js checkbox: Correctly align label 2020-01-30 15:48:26 +01:00
closeDialog.js dialog: Rename subtitle property to description 2020-01-15 00:12:54 +01:00
ctrlAltTab.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
dash.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
dateMenu.js dateMenu: Indicate when do-not-disturb is on 2020-01-22 21:55:28 +00:00
dialog.js dialogs: Use a smaller font-size if the title width exceeds the space 2020-02-17 21:42:05 +00:00
dnd.js dnd: Make DND translation-property-aware 2020-02-07 14:43:56 +00:00
edgeDragAction.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
endSessionDialog.js endSessionDialog: Redesign according to new mockups 2020-01-20 15:05:41 +01:00
environment.js environment: Remove unused ease parameter 2020-01-06 13:17:59 +00:00
extensionDownloader.js extensionDownloader: Include version validation in update check 2020-01-30 13:37:47 +00:00
extensionSystem.js extensionSystem: Periodically check for extension updates 2020-02-03 19:33:14 +01:00
focusCaretTracker.js cleanup: Prefer template strings 2019-07-05 11:32:31 +00:00
grabHelper.js grabHelper: Add (promised-based) grabAsync() 2019-12-20 15:41:32 +01:00
ibusCandidatePopup.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
iconGrid.js iconGrid: Avoid animating the same icon twice 2020-02-07 11:31:20 +00:00
inhibitShortcutsDialog.js inhibitShortcutsDialog: Adapt to new dialog design 2020-01-27 23:40:04 +01:00
kbdA11yDialog.js ui: Use ClutterSeat for keyboard/pointer a11y 2020-01-30 17:49:08 +00:00
keyboard.js keyboard: Only enable automatically if ClutterSeat::touch-mode is enabled 2020-02-10 22:07:19 +00:00
layout.js switcherPopup: Dismiss when a system modal dialog opens 2019-12-06 19:55:39 +01:00
lightbox.js lightbox: Change vignette brightness to 0.5 2020-01-19 18:01:57 +01:00
locatePointer.js locatePointer: Bind ripples creation to settings 2019-09-09 19:28:18 +00:00
lookingGlass.js lookingGlass: Use ClutterSeat to fetch devices 2020-01-30 17:49:08 +00:00
magnifier.js magnifier: Make magnification factor changes animatable 2020-02-07 18:18:25 +01:00
magnifierDBus.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
main.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
messageList.js theme: Add message close button styling 2019-11-25 18:02:07 +02:00
messageTray.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
modalDialog.js switcherPopup: Dismiss when a system modal dialog opens 2019-12-06 19:55:39 +01:00
mpris.js mpris: Use a scope specific message instead of a global one 2019-11-21 22:54:07 +00:00
notificationDaemon.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
osdMonitorLabeler.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
osdWindow.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
overview.js Update hint texts of all entries 2020-02-17 11:03:07 +00:00
overviewControls.js overviewControls: Use ClutterActor's translation-x 2020-01-28 18:09:49 +00:00
padOsd.js padOsd: Use ClutterSeat to fetch devices 2020-01-30 17:49:08 +00:00
pageIndicators.js pageIndicators: Redesign and add position-based animation 2019-11-23 03:01:51 +05:00
panel.js panel: Disable menu-toggle shortcuts while top bar is hidden 2019-12-20 14:20:49 +00:00
panelMenu.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
pointerA11yTimeout.js ui: Use ClutterSeat for keyboard/pointer a11y 2020-01-30 17:49:08 +00:00
pointerWatcher.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
popupMenu.js popupMenu: Remove excess padding from separators 2020-02-15 00:16:45 +00:00
remoteSearch.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
ripples.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
runDialog.js runDialog: Implement the new dialog design 2020-01-27 19:27:45 +01:00
screencast.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
screenShield.js screenShield: Always deactivate when interrupting idle before lock 2020-02-17 11:13:34 +00:00
screenshot.js screenshot: Fix stripping suffix from relative filename 2020-01-10 19:31:04 +01:00
scripting.js perf-tool: Spawn perf-tool-helper from gnome-shell 2020-01-27 13:43:06 +00:00
search.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
sessionMode.js sessionMode: Remove lock-screen mode 2020-02-10 22:30:52 +00:00
shellDBus.js extensionPrefs: Rename to Extensions 2020-02-03 19:03:19 +01:00
shellEntry.js js: Initialize some properties 2020-01-31 17:39:18 +01:00
shellMountOperation.js Update hint texts of all entries 2020-02-17 11:03:07 +00:00
slider.js slider: Stop emulating drags in key handling 2019-11-23 15:08:54 +01:00
swipeTracker.js swipeTracker: Reset scroll gesture state on disabling 2020-02-06 17:36:05 +00:00
switcherPopup.js altTab: Don't return from _init() if there are no windows/apps 2020-01-17 14:34:34 +00:00
switchMonitor.js switchMonitor: Center align switcher icon's label 2020-01-02 13:03:08 +05:30
tweener.js tweener: Use new adjustAnimationTime() helper 2019-08-06 20:50:43 +02:00
unlockDialog.js unlock: Don't show prompt on shifty key presses 2020-02-14 21:57:03 +01:00
userWidget.js userWidget: Add empty label when user is null 2020-02-12 19:29:48 +00:00
viewSelector.js workspaceThumbnail: Sync indicator with WorkspacesDisplay 2020-01-08 23:07:08 +01:00
windowAttentionHandler.js cleanup: Don't shadow variables 2019-11-11 19:25:14 +00:00
windowManager.js windowManager: Use shorter string for dialog headline 2020-02-01 08:08:33 +01:00
windowMenu.js cleanup: Avoid unnecessary parentheses in arrow functions 2019-09-15 16:02:45 +02:00
workspace.js workspace: Animate window clones using translation properties 2020-02-07 14:43:56 +00:00
workspacesView.js workspacesView: Disable swipe tracker during window dragging 2020-01-28 22:08:48 +00:00
workspaceSwitcherPopup.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
workspaceThumbnail.js workspaceThumbnail: Sync indicator with WorkspacesDisplay 2020-01-08 23:07:08 +01:00
xdndHandler.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00