Opened 9 years ago
Closed 9 years ago
#492 closed defect (fixed)
BAR: Chili doesnt handle viewresize
Reported by: | beherith | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Chili | Version: | |
Keywords: | Cc: |
Description
Only a /luaui reload gets it to resize the UI, namely the minimap and the 'tooltip'
Change History (3)
comment:1 by , 9 years ago
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed for minimap and the tooltip.
Resizing the window causes quite poor alignment for many of the UI widgets. For example, buildmenu can go under the unit icon or even outside the screen. I suppose eventually screen space will run out and some UI elements will have to overlap, but maybe there could be some scaling applied before that happens, like there's scaling for the minimap.
Anyhow, here are the fixes:
luaui/gui_chili_funks_minimap.lua, add the ViewResize function (I added it before Initialize(), since that's where it is in some other lua files):
luaui/gui_chili_funks_cursortip.lua, add the ViewResize function (I added it before Initialize(), since that's where it is in some other lua files):