Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions lua/menu/plugin_bootstrapper/plugins_window.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
local PANEL = {}

function PANEL:Init()
self:SetSize(400, 600)
--self:SetSize(ScrW() * 0.4, ScrH() * 0.6)
self:SetSize(ScrW()/4.8,ScrH()/1.8)
self:Center()
self:SetMinimumSize(400, 600)
self:DockPadding(5, 3, 5, 3)
self:SetTitle("")
self:SetDraggable(true)
Expand Down Expand Up @@ -65,6 +63,7 @@ In addition, the following licenses apply to libraries/code used within MPR:
- [Modest CSS](https://github.com/markdowncss/modest) : [MIT license](https://github.com/markdowncss/modest/blob/master/LICENSE).
- [vON](https://github.com/vercas/vON) :[Read here](https://github.com/vercas/vON/blob/master/von.lua#L1:L23).
]]):format(menup.version, menup.changelog))
self:SetMinimumSize(tabs:GetWide()+270)
self.about = about
self.btnClose:MoveToFront()
self.btnMaxim:Hide()
Expand All @@ -87,4 +86,4 @@ function DoMenuButton()
if table.Count(menup.drawer.buttons) == 0 then ShowPluginsWindow() else menup.drawer.open() end
end

-- concommand.Add("menu_plugins", ShowPluginsWindow)
-- concommand.Add("menu_plugins", ShowPluginsWindow)