mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
[ui] Make windows fit to children
I'm not sure this is what I want, especially in the long run, but it does make simple windows much easier to create (and not look broken due to being specified too small).
This commit is contained in:
parent
48cc4db45d
commit
c18e432e0f
1 changed files with 2 additions and 2 deletions
|
@ -1056,8 +1056,8 @@ IMUI_StartWindow (imui_ctx_t *ctx, imui_window_t *window)
|
|||
*View_Control (window_view) = (viewcont_t) {
|
||||
.gravity = grav_northwest,
|
||||
.visible = 1,
|
||||
.semantic_x = imui_size_none,
|
||||
.semantic_y = imui_size_none,
|
||||
.semantic_x = imui_size_fitchildren,
|
||||
.semantic_y = imui_size_fitchildren,
|
||||
.free_x = 1,
|
||||
.free_y = 1,
|
||||
.vertical = true,
|
||||
|
|
Loading…
Reference in a new issue