ocornut
b87728bd2b
Tables: clamp vertical border Y2 position when not using scrolling table, so that ImDrawCmd AABB stays reasonable.
...
This does not fix any screen visible issue, and should not be noticeable if correct.
(context: investigated this while looking at #4678 , but not actually directly related)
2026-10-29 21:21:47 +01:00
ocornut
726399ff76
Internals: RenderArrow: apply scale to horizontal offset. ( #3895 )
...
In the absence of a better standardized symbol/icon design this seem more consistent.
2026-10-27 13:56:16 +01:00
ocornut
cbe3d5fb88
Version 1.93.1 WIP
2026-10-15 14:34:31 +02:00
ocornut
c1aaac65e8
Version 1.93.0
2026-10-14 17:55:08 +02:00
ocornut
5181e95a46
DrawList: removed g_LEGACY_STROKES.
2026-10-07 18:53:53 +02:00
Mikko Mononen
37f16412d5
Fixed layout/pixel-perfect issues in various widgets (w/ g_LEGACY_STROKES toggle). ( #9504 )
2026-10-07 18:53:49 +02:00
ocornut
68bd43b2b4
Tables: fixed a bug tracking topology changes (insert new columns in the middle) when the table is not Reorderable. ( #9570 , #9108 , #9572 )
2026-10-05 18:00:45 +02:00
ocornut
cc072ca90e
Tables: comments for saving fix when using ImGuiTableFlags_Sortable and no user changes were made. ( #9519 , #9108 )
...
Because SortOrder save is gated, it doesn't guarantee every column gets an .ini entry. Amend 1d7b37dc9b.
We set ImGuiTableFlags_Reorderable but technically any other field would work, tho ImGuiTableFlags_Reorderable makes more sense.
2026-09-22 17:13:16 +02:00
ocornut
a6784c378f
Tables: fixed reconcile path being needlessly taken on first frame of every table. ( #9108 )
2026-09-22 16:54:13 +02:00
ocornut
1d7b37dc9b
Tables: fix/workaround for losing display order. ( #9519 , #9108 )
2026-08-19 13:27:31 +02:00
ocornut
5de45fb1d9
Trim trailing white spaces. Changes some NULL to nullptr.
2026-08-07 16:00:53 +02:00
ocornut
6a6d7bc3ca
Internals: added SetNextWindowFlags(), SetNextWindowChildFlags() helpers + made BeginChildEx() itself read from them. ( #9503 , #8280 , #9412 , #9499 , #9393 , #8488 )
...
As a result BeginTable() doesn't need to read itself and pass that to BeginChildEx().
2026-08-05 21:16:35 +02:00
ocornut
ebd752a0ec
Version 1.93.0 WIP
2026-08-03 14:42:56 +02:00
ocornut
f1cc2ae15e
Version 1.92.9b
2026-07-31 16:14:42 +02:00
thedmd
b9adace7b5
Tables: fixed X position of angled borders being off by half a pixel.
2026-07-30 22:03:40 +02:00
thedmd
ed252c55aa
Tables: fixed Y position of lower horizontal border being off by one pixel when vertical ones are not also enabled.
...
Attributed to thedmd who reported this to me.
2026-07-30 21:40:26 +02:00
ocornut
950d27137e
Tweaks.
2026-07-29 15:51:15 +02:00
ocornut
01380c5797
Version 1.92.9
2026-07-25 13:28:06 +02:00
ShiroKSH
0720d59bb7
Tables: validate ini settings column count. ( #9472 )
...
+ Amend with comment by ocornut.
2026-07-15 14:16:31 +02:00
ocornut
85593d0869
Tables, Settings: make TableSettingsCreate() recycle existing unbound entry (might happen after a GC or anything clearing table->SettingsOffset. ( #9460 , #9108 )
2026-07-07 22:06:43 +02:00
ocornut
d1eb8d031c
Settings: added explicit DiscardWhenMissingDate. ( #9460 , #9108 )
2026-07-07 22:00:26 +02:00
ocornut
5fb77dfde1
Settings: added io.ConfigIniSettingsAutoDiscardMonths, trimming tool in in Metrics->Settings + internal CleanupIniSettings(). ( #9460 )
...
cc #437 #2564
2026-07-03 16:36:46 +02:00
ocornut
f7e8343ee9
Settings, IO: added io.ConfigIniSettingsSaveLastUsedDate, platform_io.Platform_SessionDate, IMGUI_DISABLE_TIME_FUNCTIONS(). ( #9460 )
...
cc #437
2026-07-03 16:36:45 +02:00
ocornut
1c1241136a
Tables: fixed (harmless) flag clearing issue in TableReconcileColumns(). ( #9108 )
...
Was actually harmless because IsNeedReconcileSrc never read again for this column.
2026-06-25 11:22:09 +02:00
ocornut
0e355af09e
RenderNavCursor: take rounding as input. Removed ImGuiNavRenderCursorFlags_NoRounding.
...
Toward #7589
2026-06-24 18:34:30 +02:00
ocornut
e74453760b
Tables: rewrote TableLoadSettingsForColumns() to match TableReconcileColumn() logic more precisely. ( #9108 )
...
Fixes issues with e.g. duplicate identifiers. See "table_topology_change_1" test.
2026-06-24 16:01:44 +02:00
ocornut
ec69495ca8
Tables: fixed some cases of reconcile/load handling when using duplicate identifiers. ( #9108 )
2026-06-24 16:01:44 +02:00
ocornut
b522576054
Tables: tracking topology changes by default. Match by ID then in sequential order for remaining. ( #9108 , #4046 )
...
Removed ImGuiTableFlags_TrackTopologyChanges.
2026-06-24 16:01:43 +02:00
ocornut
570c0e03b7
Tables: extract part of TableLoadSettingsForColumns() into TableLoadSettingsForColumn(). ( #9108 )
2026-06-24 15:52:16 +02:00
ocornut
b9cf21733d
Tables: avoid forcing a settings load on count change. ( #9108 )
...
At this very moment, I don't have a specific need/use for it. Went into this direction with solving the bigger problem, and it seems right but is not hard required right now.
2026-06-24 15:51:43 +02:00
ocornut
7930405c73
Tables: rework _TrackTopologyChanges to function without enforcing saving order/visibility. ( #9108 )
2026-06-24 15:51:22 +02:00
ocornut
f2fcdfe97f
Tables: fixed duplicate settings entry.
2026-06-24 15:51:03 +02:00
ocornut
2f94e7dc13
Tables: add support for ImGuiTableFlags_TrackTopologyChanges ( #9108 , #4046 )
2026-06-24 15:50:17 +02:00
ocornut
d15966ff6c
Tables: fixed TableGcCompactSettings() not invalidating bound offset. A crash could in theory be triggered if clicking "Gc All" after saved tables have reduced column count.
...
Tested by "table_settings_5"
2026-06-18 19:48:53 +02:00
ocornut
13fc81fc82
Tables: fixes incorrect forward declaration for a missing function + fixed tooltip comment. ( #9445 , #9448 )
2026-06-17 12:53:36 +02:00
Brenton Bostick
b47a3898b4
Fixed unused parameter 'table'. ( #9447 , #9446 )
2026-06-17 12:51:54 +02:00
ocornut
b46a37eac9
Tables: comments about misleading TableSetupColumn() user_id parameter, renamed to user_data.
...
ImGuiTableColumnSortSpecs::ColumnUserID should be changed to ColumnUserData.
2026-06-15 19:05:38 +02:00
ocornut
e6147a3993
Tables: allow calling TableQueueSetColumnDisplayOrder() between TableSetupColumn() and TableUpdateLayout() by removing an early out.
...
As `table->Columns[column_n].DisplayOrder` is not viable in this scope during a reconcile.
2026-06-15 18:25:08 +02:00
ocornut
721da6a34c
Tables: apply queued requests in TableUpdateLayout()
...
To allow calling TableQueueSetColumnDisplayOrder() between TableSetupColumn() and between TableUpdateLayout()
# Conflicts:
# imgui_tables.cpp
2026-06-15 18:24:43 +02:00
ocornut
3240201de2
Fixing build.
2026-06-15 16:37:26 +02:00
ocornut
94a3dcc5fa
Tables: tweaked debug tools + minor data packing in in ImGuiTableColumn
2026-06-15 16:15:39 +02:00
ocornut
d43c3f929c
Tables: split code from TableSetupColumn() so it can be more easily deferred.
2026-06-15 16:13:25 +02:00
ocornut
36ea9728d1
Tables: save/restore column ID (unused)
...
Ditched UserID storage, which was provably broken/unused.
2026-06-15 16:13:25 +02:00
ocornut
2e0f949039
Tables, Debug Log: added IMGUI_DEBUG_LOG_TABLE, ImGuiDebugLogFlags_EventTable. Clicking "Clear settings" calls TableResetSettings() immediately.
2026-06-12 22:12:25 +02:00
ocornut
924f57181b
Tables: Headers: fixed label being clipped early to reserve space for a sort marker even when no sort marker is displayed.
...
Amend 892b48e2d6: while fixing auto fit this was ditched.
2026-06-12 18:22:52 +02:00
ocornut
e5ff2d07d7
Tables: Context-menu: added "Reset" sub-menu and "Reset Visibility" option.
2026-06-11 19:15:55 +02:00
ocornut
aa377352ef
Tables: TableGcCompactTransientBuffers() can ditch AngledHeadersRequests data.
...
Amend b30df8890.(#6917 )
2026-06-10 17:15:50 +02:00
ocornut
4312c4399f
Tables: moved RefScale update and application to TableUpdateLayout().
2026-06-10 17:15:41 +02:00
ocornut
c7767926ce
Version 1.92.9 WIP
2026-05-15 13:28:32 +02:00
ocornut
8936b58fe2
Version 1.92.8
...
Include minor bits: adjust activeid logging, tweak comments.
2026-05-12 16:30:30 +02:00