MCPcopy Create free account
hub / github.com/MediaArea/MediaInfo / FormResize

Method FormResize

Source/GUI/VCL/GUI_Preferences_Language.cpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62//---------------------------------------------------------------------------
63
64void __fastcall TPreferences_LanguageF::FormResize(TObject *Sender)
65{
66 Grille->Width=ClientWidth-Grille->Left;
67 Grille->Height=ClientHeight-Grille->Top; //Why 40? I don't know!
68 Grille->ColWidths[0]=Grille->Width*1/7;
69 Grille->ColWidths[1]=Grille->Width*3/7;
70 Grille->ColWidths[2]=Grille->Width*3/7;
71 OK->Left=ClientWidth-OK->Width;
72 Cancel->Left=OK->Left-Cancel->Width;
73}
74
75//***************************************************************************
76// C++

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected