1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

Adjusted size of the Legal Information panel

With the changes to the layout, which were introduced in the
previous patch series, and the correction of the default font
size, the Legal Information panel was too small to display the
complete text.
It has been set to a sufficient size.
This commit is contained in:
Tim Taenny
2019-06-18 21:17:31 +02:00
committed by Carlos R. Mafra
parent 5ab9b7c6be
commit f895b906a4

View File

@@ -1466,8 +1466,8 @@ void wShowLegalPanel(WScreen *scr)
panel->scr = scr; panel->scr = scr;
panel->win = WMCreateWindow(scr->wmscreen, "legal"); panel->win = WMCreateWindow(scr->wmscreen, "legal");
WMGetScaleBaseFromSystemFont(scr->wmscreen, &wmScaleWidth, &wmScaleHeight); WMGetScaleBaseFromSystemFont(scr->wmscreen, &wmScaleWidth, &wmScaleHeight);
pwidth = WMScaleX(420); pwidth = WMScaleX(440);
pheight = WMScaleY(250); pheight = WMScaleY(270);
WMResizeWidget(panel->win, pwidth, pheight); WMResizeWidget(panel->win, pwidth, pheight);
panel->frame = WMCreateFrame(panel->win); panel->frame = WMCreateFrame(panel->win);