Skip to content

Increase size of Offset field in audio import dialog #103029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2025

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Feb 19, 2025

I found the field annoyingly small and hide information, so I made it bigger.
Before:
image
After:
image
(same value)
I also changed the suffix to s.

Somewhat related to #64538

@KoBeWi KoBeWi added this to the 4.x milestone Feb 19, 2025
@KoBeWi KoBeWi requested a review from a team as a code owner February 19, 2025 09:54
Copy link
Member

@fire fire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why sec to s? Also what is the most popular way of writing this. The other two lines look ok

@KoBeWi
Copy link
Member Author

KoBeWi commented Feb 19, 2025

sec is short for "seconds", which makes it subject to translation. s is universal unit symbol.

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

We could perhaps switch to a minutes:seconds display in the future, but we'd also need to support entering minutes:seconds values. This would likely involve parsing them with a LineEdit instead of using SpinBox, which means we'd lose on dragging support though.

@lyuma lyuma modified the milestones: 4.x, 4.5 Jun 9, 2025
@lyuma
Copy link
Contributor

lyuma commented Jun 9, 2025

Simple QOL fix. I think it's good. Fire has consensus for everything and defers the decision about units, and Calinou agrees about units, so I think there's enough consensus to get this merged.

@Repiteo Repiteo merged commit a19cb97 into godotengine:master Jun 9, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jun 9, 2025

Thanks!

@KoBeWi KoBeWi deleted the increase_offset branch June 9, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants