Skip to content

Conversation

@derrod
Copy link
Member

@derrod derrod commented Jan 18, 2026

Description

This PR adds the ability for the frontend to resize sources in an source-agnostic way through a unified libobs API.

Currently this adds two hotkeys:

  • CTRL+B will change the size of a source to its bounding box
  • Holding CTRL+SHIFT while resizing will continuously update the source's size to fit the bounding box

Demo:

2026-01-18_23-15-24_HgNMSl.mp4

Motivation and Context

Makes it easier to adjust browser or text sources to fit without having to open the properties or worry about exact pixel values.

Resizing text sources especially is a pain.

Note

This is a draft due to some outstanding bugs with the browser source where sometimes the size does not appear to update correctly.

How Has This Been Tested?

With browser and GDI text sources

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@PatTheMav
Copy link
Member

What's the reason this is still a draft? In general we don't allow draft PRs for the time being (except when explicitly asked to put a PR in draft mode) and "work-in-progress" PRs should be kept in separate forks until they are ready to be reviewed.

@derrod derrod closed this Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants