mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00: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();
|
wxSize size = GetSize();
|
||||||
wxClientDC dc(this);
|
wxClientDC dc(this);
|
||||||
bool align_right = GetWindowStyle() & wxRIGHT;
|
bool align_right = GetWindowStyle() & wxALIGN_RIGHT;
|
||||||
if (align_right)
|
if (align_right)
|
||||||
dc.SetFont(GetFont());
|
dc.SetFont(GetFont());
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user