mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 06:14:13 +01:00
Fixed wrong size of the alert panel buttons
This commit is contained in:
@@ -133,7 +133,7 @@ WMCreateAlertPanel(WMScreen *scrPtr, WMWindow *owner,
|
|||||||
WMSetBoxBorderWidth(hbox, 10);
|
WMSetBoxBorderWidth(hbox, 10);
|
||||||
WMSetBoxHorizontal(hbox, True);
|
WMSetBoxHorizontal(hbox, True);
|
||||||
WMMapWidget(hbox);
|
WMMapWidget(hbox);
|
||||||
WMAddBoxSubview(panel->vbox, WMWidgetView(hbox), False, True, 80, 0, 5);
|
WMAddBoxSubview(panel->vbox, WMWidgetView(hbox), False, True, 84, 0, 5);
|
||||||
|
|
||||||
panel->iLbl = WMCreateLabel(hbox);
|
panel->iLbl = WMCreateLabel(hbox);
|
||||||
WMSetLabelImagePosition(panel->iLbl, WIPImageOnly);
|
WMSetLabelImagePosition(panel->iLbl, WIPImageOnly);
|
||||||
@@ -182,7 +182,7 @@ WMCreateAlertPanel(WMScreen *scrPtr, WMWindow *owner,
|
|||||||
WMSetBoxBorderWidth(hbox, 10);
|
WMSetBoxBorderWidth(hbox, 10);
|
||||||
WMSetBoxHorizontal(hbox, True);
|
WMSetBoxHorizontal(hbox, True);
|
||||||
WMMapWidget(hbox);
|
WMMapWidget(hbox);
|
||||||
WMAddBoxSubview(panel->vbox, WMWidgetView(hbox), False, True, 24, 0, 0);
|
WMAddBoxSubview(panel->vbox, WMWidgetView(hbox), False, True, 44, 0, 0);
|
||||||
|
|
||||||
/* create buttons */
|
/* create buttons */
|
||||||
if (otherButton)
|
if (otherButton)
|
||||||
|
|||||||
Reference in New Issue
Block a user