Age | Commit message (Collapse) | Author |
|
|
|
The distinction between measure_Text and advance_Text was not very clear. Now there are only measure_Text functions that return both the bounds and the cursor position advancement, and the appropriate metrics are used by the caller.
|
|
The sidebars are not supposed to have borders or background fades.
|
|
Shuffled the widget flags a bit to make room for a new one.
|
|
|
|
|
|
Heights of InputWidget vs. LabelWidget. The default sizes should be equal, e.g., so the navbar elements align properly.
Don't set the input focus automatically when opening a dialog, since the keyboard may cover much of the UI.
|
|
|
|
# Conflicts:
# src/ui/documentwidget.c
# src/ui/inputwidget.c
|
|
- fill the safe area with theme background
- don't set button hover states if dragging/scrolling
- edge-draggable widgets must be flagged as such
- Preferences top panel offset matches sibling panels' offset
- allow toolbar to unhide when document is not scrollable
|
|
Navigation history keeps final GmDocuments in memory for quicker restore when navigating; no need to redo layout.
Changed the color escape to Vertical Tab so Carriage Returns can be left in the source, reducing need to normalize spaces.
|
|
IssueID #257
|
|
Sizing of the embedded indicators in the URL bar requires smaller than default minimum height.
|
|
|
|
Restore previous root after processing events. Adjusted colors of the non-focused root.
|
|
|
|
|
|
Don't use built-in default bindings to update buttons or menu items.
|
|
|
|
The click handling utility no longer treats double clicks as a special case. An arbitrary number of clicks is kept in a separate counter.
|
|
IssueID #192
|
|
Couple of problems:
- "data:" links were not flagged as supported
- "data:" links are not supposed to further decoded or encoded since
they are processed internally in the client
IssueID #217
|
|
IssueID #192
|
|
IssueID #192
|
|
Use char pointer ranges for the array of IDs and strings to avoid allocations.
Translate macOS menu items.
IssueID #192
|
|
Added a set of English strings. Lang can load a language.
LabelWidget can replace IDs in the label.
IssueID #192
|
|
|
|
|
|
Sliding panels and left-edge swipes.
|
|
|
|
|
|
|
|
|
|
|
|
Label icons are intended for context menus.
|
|
UI scaling factor is applied when closing the Preferences dialog.
IssueID #83
|
|
URL input field has a maximum width. Adjusted navbar appearance and margins.
Tuned UI palette and added UI accent color preference.
|
|
|
|
|
|
Added the build option ENABLE_CUSTOM_FRAME that causes the window
to be created as borderless. Lagrange's own UI widgets are used to
draw the title bar elements, including the window buttons.
There is plenty of sizing behavior still missing, for instance
snapping to fullscreen left/right side, double-clicking the frame
edges, and proper maximize mode that doesn't cover the entire screen.
The window system menu is also missing, but that can be shown
manually when appropriate.
A command-line option should also be provided to disable winbar
in case the default title bar is required.
|
|
In CertImportWidget at regular-DPI 1.0 scaling, the frames of the certificate and private key labels were drawn incorrectly.
Now the non-button LabelWidget relies on Widget to draw the frames.
|
|
This also gives feedback about a newly added subscription.
|
|
Monospace body font can be set separately for Gemini and Gopher.
|
|
|
|
If the key bindings have a key for a command, LabelWidget will use it.
|
|
Widgets now have an optional virtual method that gets called when the size of the widget changes during arranging. Wrapped text in LabelWidget uses this to update its height.
|
|
|
|
Suggest saving the content on the Unsupported MIME type error page.
|
|
|
|
|