From 945f4d238926c607c6917cc043f87099d23a3987 Mon Sep 17 00:00:00 2001 From: Alwin Date: Mon, 25 May 2015 21:56:19 +0200 Subject: [PATCH] WPrefs: creating more space for translations Making some wasted pixels available in the Options section of Icon Preferences, by redividing the heights and vertical offsets. The reason is that one or more translations may easily become larger, and will automatically be wrapped to a second line. In the current situation, those two lines appear more or less stripped, depending on the font size. The upper and/or lower part of the fonts become invisible, which make them hard to read. It's ugly also. Currently the Dutch and other translations benefit from this change. --- WPrefs.app/Icons.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/WPrefs.app/Icons.c b/WPrefs.app/Icons.c index a58630ad..4e7f2375 100644 --- a/WPrefs.app/Icons.c +++ b/WPrefs.app/Icons.c @@ -411,22 +411,22 @@ static void createPanel(Panel * p) /* WMSetFrameTitle(panel->optF, _("Icon Display")); */ panel->arrB = WMCreateSwitchButton(panel->optF); - WMResizeWidget(panel->arrB, 198, 20); - WMMoveWidget(panel->arrB, 12, 10); + WMResizeWidget(panel->arrB, 198, 26); + WMMoveWidget(panel->arrB, 12, 8); WMSetButtonText(panel->arrB, _("Auto-arrange icons")); WMSetBalloonTextForView(_("Keep icons and miniwindows arranged all the time."), WMWidgetView(panel->arrB)); panel->omnB = WMCreateSwitchButton(panel->optF); - WMResizeWidget(panel->omnB, 198, 20); - WMMoveWidget(panel->omnB, 12, 35); + WMResizeWidget(panel->omnB, 198, 26); + WMMoveWidget(panel->omnB, 12, 34); WMSetButtonText(panel->omnB, _("Omnipresent miniwindows")); WMSetBalloonTextForView(_("Make miniwindows be present in all workspaces."), WMWidgetView(panel->omnB)); panel->sclB = WMCreateSwitchButton(panel->optF); - WMResizeWidget(panel->sclB, 198, 28); - WMMoveWidget(panel->sclB, 12, 56); + WMResizeWidget(panel->sclB, 198, 26); + WMMoveWidget(panel->sclB, 12, 60); WMSetButtonText(panel->sclB, _("Single click activation")); WMSetBalloonTextForView(_("Launch applications and restore windows with a single click."), WMWidgetView(panel->sclB));