mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 16:32:30 +01:00
- Fixed aspect of window list menu (window name was too close to workspace
indicator) - Fixed menu panel in WPrefs.app. Explanatory text did not fit into the label
This commit is contained in:
@@ -1910,7 +1910,7 @@ wShowGNUstepPanel(WScreen *scr)
|
||||
panel->scr = scr;
|
||||
|
||||
panel->win = WMCreateWindow(scr->wmscreen, "About GNUstep");
|
||||
WMResizeWidget(panel->win, 325, 200);
|
||||
WMResizeWidget(panel->win, 325, 205);
|
||||
|
||||
pixmap = WMCreatePixmap(scr->wmscreen, 130, 130,
|
||||
WMScreenDepth(scr->wmscreen), True);
|
||||
@@ -1940,8 +1940,8 @@ wShowGNUstepPanel(WScreen *scr)
|
||||
}
|
||||
|
||||
panel->textL = WMCreateLabel(panel->win);
|
||||
WMResizeWidget(panel->textL, 275, 130);
|
||||
WMMoveWidget(panel->textL, 30, 50);
|
||||
WMResizeWidget(panel->textL, 305, 140);
|
||||
WMMoveWidget(panel->textL, 10, 50);
|
||||
WMSetLabelTextAlignment(panel->textL, WARight);
|
||||
WMSetLabelImagePosition(panel->textL, WIPOverlaps);
|
||||
WMSetLabelText(panel->textL,
|
||||
|
||||
@@ -571,7 +571,7 @@ wMenuRealize(WMenu *menu)
|
||||
text = menu->entries[i]->rtext;
|
||||
if (text)
|
||||
rwidth = WMWidthOfString(scr->menu_entry_font, text, strlen(text))
|
||||
+ 5;
|
||||
+ 10;
|
||||
else if (menu->entries[i]->cascade>=0)
|
||||
rwidth = 16;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user