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:
committed by
Carlos R. Mafra
parent
5ab9b7c6be
commit
f895b906a4
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user