Commit Graph
7 Commits
Author SHA1 Message Date
nguyentiendung 2a6e8b132f Fix window not resizing to fit content, causing clipped Apply dialog
GTK3 toplevel windows on Wayland don't grow to accommodate new content
once mapped, so when heads are (re)populated asynchronously after the
window is shown, or when switching to the "Apply Changes?" header, the
window can keep its stale (too small) size and clip the settings panel
(Apply/Cancel buttons, Transform, Flipped, etc). This matches #5.

- main.c: explicitly resize the window to its natural size after
  rebuilding the head list and after switching the header stack page.
- head.ui: bound the head description label with max-width-chars so a
  long EDID description string can't force the layout wider than
  intended even when wrap/ellipsize are set.
2026-08-07 20:03:03 +07:00
Jason Francis 0ed52013dd Create WdHeadForm class 2020-05-09 13:37:18 -04:00
Jason Francis f3f2b9e9e2 Backport GTK4 changes
Includes refactoring to use GMenuModel and GtkEventController
2020-05-08 20:26:33 -04:00
Jason Francis d355f7be25 Add lower bound to scale 2019-08-18 11:30:58 -04:00
Jason Francis 43a2d18075 finish up viewport widget with screen previews 2019-07-27 16:57:54 -04:00
Jason Francis e7ac3fa7ad improve form consistency 2019-07-06 13:12:28 -04:00
Jason Francis b278730ddd initialize repository 2019-07-05 22:51:52 -04:00