mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-05 12:25:05 +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::TableNextColumn(); \
|
||||
float lenAvail=ImGui::GetContentRegionAvail().x; \
|
||||
ImGui::Dummy(ImVec2(120.0f*dpiScale,dpiScale)); \
|
||||
ImGui::TableNextColumn(); \
|
||||
float availableWidth=ImGui::GetContentRegionAvail().x-reservedSpace; \
|
||||
int totalFit=MIN(127,availableWidth/(16*dpiScale)); \
|
||||
|
|
Loading…
Reference in a new issue