Description:
Tweak image placement.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -196,7 +196,7 | |||
|
196 | 196 | this.imageMap = new ImGuiImageMap(500, 400, imageMapTexture, _imGuiRenderer); |
|
197 | 197 | |
|
198 | 198 | var portraitMapTexture = Content.Load<Texture2D>(@"portraits"); |
|
199 |
this.portraitsMap = new ImGuiImageMap( |
|
|
199 | this.portraitsMap = new ImGuiImageMap(300, 400, portraitMapTexture, _imGuiRenderer); | |
|
200 | 200 | |
|
201 | 201 | Line.initialize(GraphicsDevice); |
|
202 | 202 | Quad.Initialize(GraphicsDevice, texture); |
@@ -141,7 +141,7 | |||
|
141 | 141 | |
|
142 | 142 | StyleSets.defaultSet.push(); |
|
143 | 143 | |
|
144 |
ImGui.SetNextWindowSize(new Num.Vector2(400, 2 |
|
|
144 | ImGui.SetNextWindowSize(new Num.Vector2(400, 250)); | |
|
145 | 145 | if (DialogInterface.hadFocus) |
|
146 | 146 | { |
|
147 | 147 | ImGui.PushStyleColor(ImGuiCol.Text, StyleSets.white); |
@@ -155,8 +155,9 | |||
|
155 | 155 | DialogInterface.hadFocus = ImGui.IsWindowFocused(); |
|
156 | 156 | |
|
157 | 157 | ImGui.Columns(2); |
|
158 | ImGui.SetColumnWidth(0, 120); | |
|
158 | 159 | |
|
159 |
Widgets.MapImage(DialogInterface.map, new Num.Vector2(1 |
|
|
160 | Widgets.MapImage(DialogInterface.map, new Num.Vector2(111, 148), 1); | |
|
160 | 161 | |
|
161 | 162 | ImGui.NextColumn(); |
|
162 | 163 |
You need to be logged in to leave comments.
Login now