mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-15 08:59:39 -07:00
Fix combo box vertical text alignment (#11217)
* init * update condition * Merge branch 'main' into fix-combobox-text * Update TextInput.cpp
This commit is contained in:
parent
394d1a330d
commit
4501bf6f57
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue