Skip to content

Commit 03b1e64

Browse files
committed
Docs: Funding link, Tweaks, Gallery links.
1 parent 12d9505 commit 03b1e64

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: ['https://github.com/ocornut/imgui/wiki/Sponsors']

imgui_widgets.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -7841,6 +7841,7 @@ bool ImGui::TabItemLabelAndCloseButton(ImDrawList* draw_list, const ImRect& bb,
78417841
text_pixel_clip_bb.Max.x -= close_button_sz;
78427842
}
78437843

7844+
// FIXME: if FramePadding is noticeably large, ellipsis_max_x will be wrong here (e.g. #3497), maybe for consistency that parameter of RenderTextEllipsis() shouldn't exist..
78447845
float ellipsis_max_x = close_button_visible ? text_pixel_clip_bb.Max.x : bb.Max.x - 1.0f;
78457846
RenderTextEllipsis(draw_list, text_ellipsis_clip_bb.Min, text_ellipsis_clip_bb.Max, text_pixel_clip_bb.Max.x, ellipsis_max_x, label, NULL, &label_size);
78467847

0 commit comments

Comments
 (0)