serenity/Userland/Applications/HexEditor
Sam Atkins 3318563ad9 HexEditor: Size the offset area based on the text width
This gets rid of the last use of the offset_margin_width() magic number.

I initially tried using `character_width() * 10` and found it was not
accurate enough with between-character spacing, so instead this measures
a specific string. All offset strings should be the same width in a
fixed-width font.
2024-02-09 16:59:02 +00:00
..
AnnotationsModel.cpp HexEditor: Save and load annotations to/from JSON files 2024-01-31 17:38:56 +00:00
AnnotationsModel.h HexEditor: Save and load annotations to/from JSON files 2024-01-31 17:38:56 +00:00
CMakeLists.txt HexEditor: Store annotations in a Model 2024-01-30 23:34:49 +00:00
EditAnnotationDialog.cpp HexEditor: Store annotations in a Model 2024-01-30 23:34:49 +00:00
EditAnnotationDialog.h HexEditor: Add comments to annotations 2024-01-30 23:34:49 +00:00
EditAnnotationWidget.gml HexEditor: Add comments to annotations 2024-01-30 23:34:49 +00:00
EditAnnotationWidget.h HexEditor: Add annotations system 2024-01-14 13:45:02 +00:00
FindDialog.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
FindDialog.h HexEditor: Port HexEditor to GML compilation 2023-12-08 01:06:09 +01:00
FindWidget.gml HexEditor: Port HexEditor to GML compilation 2023-12-08 01:06:09 +01:00
FindWidget.h HexEditor: Port HexEditor to GML compilation 2023-12-08 01:06:09 +01:00
GoToOffsetDialog.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
GoToOffsetDialog.h HexEditor: Port HexEditor to GML compilation 2023-12-08 01:06:09 +01:00
GoToOffsetWidget.gml HexEditor: Port HexEditor to GML compilation 2023-12-08 01:06:09 +01:00
GoToOffsetWidget.h HexEditor: Port HexEditor to GML compilation 2023-12-08 01:06:09 +01:00
HexDocument.cpp HexEditor: Store annotations in a Model 2024-01-30 23:34:49 +00:00
HexDocument.h HexEditor: Store annotations in a Model 2024-01-30 23:34:49 +00:00
HexEditor.cpp HexEditor: Share the code for updating the content size 2024-02-09 16:59:02 +00:00
HexEditor.h HexEditor: Size the offset area based on the text width 2024-02-09 16:59:02 +00:00
HexEditorWidget.cpp HexEditor: Add an option to load an annotations file on startup 2024-01-31 17:38:56 +00:00
HexEditorWidget.gml HexEditor: Optionally display annotations in the side panel 2024-01-30 23:34:49 +00:00
HexEditorWidget.h HexEditor: Add an option to load an annotations file on startup 2024-01-31 17:38:56 +00:00
main.cpp HexEditor: Add an option to load an annotations file on startup 2024-01-31 17:38:56 +00:00
SearchResultsModel.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Selection.h HexEditor: Wrap selection and behavior in a struct 2024-01-14 13:45:02 +00:00
ValueInspectorModel.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30