Merge branch 'main' into dev/p2s-pr

This commit is contained in:
Noisyfox
2025-11-09 20:47:51 +08:00
committed by GitHub
37 changed files with 2760 additions and 1518 deletions

View File

@@ -313,7 +313,7 @@ void TextInput::messureSize()
{
wxSize size = GetSize();
wxClientDC dc(this);
bool align_right = GetWindowStyle() & wxRIGHT;
bool align_right = GetWindowStyle() & wxALIGN_RIGHT;
if (align_right)
dc.SetFont(GetFont());
else