Age | Commit message (Collapse) | Author |
|
It was possible that the window was accessed from a background request
`postCommand` before the window was created. The CA file/path from
preferences must be set before TlsRequest is used.
|
|
Also various widget fixes/improvements.
|
|
The software keyboard obstructs part of the UI, so need to offset the view if the focused input widget would not be visible.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
Follow typical GUI conventions by placing dialog buttons on the right edge. This leaves space for additional actions on the left.
|
|
Clear gestures related to a widget if the widget is destroyed.
|
|
|
|
In portrait mode, phones have no room for sidebars so need to use a different widget arrangement.
|
|
|
|
Phone mode uses a modified user interface. Work in progress...
|
|
|
|
Handle finger down, motion, and up events to implement basic taps, long presses, and inertia scrolling.
Much finetuning still to be done, and certain widgets like input fields and scrollbars need a direct drag mode (they were working fine via the "mouse" events already).
|
|
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.
|
|
Widgets can now be defined as being the "focus root", i.e., the topmost
widget under which focus switching happens. Normally this is the window
root widget, but dialogs use this flag to confine focus switching
inside the dialog.
InputWidget in Overwrite mode will focus switch to the next focusable
widget when the text field becomes full.
|
|
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.
|
|
Clicking a menu button while the menu is open should just close the menu.
Menus should not close if the mouse pointer leaves the window.
|
|
A sidebar on the right is a better solution than a kludgy non-interactive special-purpose outline that appears when hoving the mouse on the document scrollbar.
|
|
Useful for menus and dialogs that wouldn't fit inside the window.
|
|
|
|
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.
|
|
The DocumentWidget was not actually deleted when a tab was closed, only hidden.
|
|
|
|
Ran out of room in 32 bits, more flags needed for arranging.
|
|
Added a new arrange flag for centering a child horizontally.
The two-column layout in Preferences has expanding vertical paddings so the page contents are vertically centered.
|
|
Added a new widget flag for notifying about missed mouse clicks. Only used in popup menus at the moment.
IssueID #2
|
|
Focus should go from URL bar to lookup results, and only then to the find bar.
|
|
|
|
|
|
|
|
|
|
Allow draw background and children separately.
|
|
The sidebar uses a ListWidget now, but the layout needs fixing.
|
|
|
|
|
|
|
|
|
|
The modal sheets switch mouse cursor to the default arrow.
|
|
Font changes cause window redrawing to pause so document layout doesn’t get an intermediate update with a different width.
Sheets are mouse-modal.
|
|
|
|
|
|
|
|
|
|
|