Skip to content

Bugfixes regarding adding controls in the sizer - #553

Merged
arch1t3cht merged 5 commits into
TypesettingTools:masterfrom
0tkl:sizer-bugfix-1
Jul 11, 2026
Merged

Bugfixes regarding adding controls in the sizer#553
arch1t3cht merged 5 commits into
TypesettingTools:masterfrom
0tkl:sizer-bugfix-1

Conversation

@0tkl

@0tkl 0tkl commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

My local repo is currently too messy, so I've decided to split that massive PR #512 and first incorporate some bugfixes into the upstream.

Of these commits, 1e747f6 aims to fix the following problem:

image

mojie126 added a commit to mojie126/Aegisub that referenced this pull request Feb 28, 2026
- 移除border=0时无效的方向标志(wxALL/wxRIGHT/wxLEFT/wxBOTTOM等)
- 移除wxCENTER与wxEXPAND的矛盾组合
- dialog_jumpto: wxGridSizer改为wxFlexGridSizer修复布局错位
- preferences: 修复颜色方案面板比例分配
- preferences_base: 浏览/字体按钮改用CenterVertical()对齐
- 跳过subs_edit_box.cpp(已有独立重写)
mojie126 added a commit to mojie126/Aegisub that referenced this pull request Mar 19, 2026
- 移除border=0时无效的方向标志(wxALL/wxRIGHT/wxLEFT/wxBOTTOM等)
- 移除wxCENTER与wxEXPAND的矛盾组合
- dialog_jumpto: wxGridSizer改为wxFlexGridSizer修复布局错位
- preferences: 修复颜色方案面板比例分配
- preferences_base: 浏览/字体按钮改用CenterVertical()对齐
- 跳过subs_edit_box.cpp(已有独立重写)
@arch1t3cht arch1t3cht added this to the 3.5.0 milestone Jul 11, 2026
0tkl and others added 5 commits July 11, 2026 20:37
…when the border direction is not specified
wxEXPAND overrides alignment flags in box sizers
The text *inside* a vertically stretched text control is not vertically
centered itself, so instead leave the text controls unstretched and
center them vertically in their container.
Otherwise the control is only a single character wide on Mac.
@arch1t3cht

Copy link
Copy Markdown
Member

Rebased, squashed three of the commits together, and added a fix for another bug I found while testing this.

@arch1t3cht
arch1t3cht merged commit ba80230 into TypesettingTools:master Jul 11, 2026
7 checks passed
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