mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
GUI: enforce minimum size for macro edit left col
UNTESTED
This commit is contained in:
parent
fb68d2e5cb
commit
73cf7cf161
1 changed files with 1 additions and 0 deletions
|
@ -853,6 +853,7 @@ if (ImGui::BeginTable("MacroSpace",2)) { \
|
||||||
ImGui::TableNextRow(); \
|
ImGui::TableNextRow(); \
|
||||||
ImGui::TableNextColumn(); \
|
ImGui::TableNextColumn(); \
|
||||||
float lenAvail=ImGui::GetContentRegionAvail().x; \
|
float lenAvail=ImGui::GetContentRegionAvail().x; \
|
||||||
|
ImGui::Dummy(ImVec2(120.0f*dpiScale,dpiScale)); \
|
||||||
ImGui::TableNextColumn(); \
|
ImGui::TableNextColumn(); \
|
||||||
float availableWidth=ImGui::GetContentRegionAvail().x-reservedSpace; \
|
float availableWidth=ImGui::GetContentRegionAvail().x-reservedSpace; \
|
||||||
int totalFit=MIN(127,availableWidth/(16*dpiScale)); \
|
int totalFit=MIN(127,availableWidth/(16*dpiScale)); \
|
||||||
|
|
Loading…
Reference in a new issue