Skip to content

Commit

Permalink
exp: set default size of edict references window
Browse files Browse the repository at this point in the history
* default width is 400
* default height is adjusted automatically depending on content
  • Loading branch information
alexey-lysiuk committed Dec 25, 2024
1 parent 6c7334d commit b1d2560
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Misc/qs_pak/scripts/expmode_edicts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ function expmode.edicts.references(edict)

local function oncreate(self)
self:setconstraints()
self:setsize(imVec2(400, 0))
self.edict = edict
self.edictid = edictid
end
Expand Down

0 comments on commit b1d2560

Please sign in to comment.