1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

WPrefs: Moved widgets in Workspace panel so that label is not truncated

A label was truncated because the widget next to it was too close for
historical reasons; now that the frame is wide enough the Pop-up Button
widget at its left is pushed further apart so the label for the position
of the workspace name can be fully visible.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-12-30 18:49:13 +01:00
committed by Carlos R. Mafra
parent 5770e53c50
commit d30b942b9e

View File

@@ -166,7 +166,7 @@ static void createPanel(Panel * p)
}
/**/ panel->posL = WMCreateLabel(panel->navF);
WMResizeWidget(panel->posL, 200, 30);
WMResizeWidget(panel->posL, 275, 30);
WMMoveWidget(panel->posL, 75, 165);
// WMSetLabelTextAlignment(panel->posL, WARight);
WMSetLabelText(panel->posL, _("Position of workspace name display"));
@@ -184,7 +184,7 @@ static void createPanel(Panel * p)
panel->posP = WMCreatePopUpButton(panel->navF);
WMResizeWidget(panel->posP, 125, 20);
WMMoveWidget(panel->posP, 290, 170);
WMMoveWidget(panel->posP, 350, 170);
WMAddPopUpButtonItem(panel->posP, _("Disable"));
WMAddPopUpButtonItem(panel->posP, _("Center"));
WMAddPopUpButtonItem(panel->posP, _("Top"));