mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-04-06 00:32:05 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user