mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-19 09:13:33 +01:00
WINGs: remove unnecessary warning in wtextfield
Since commit 77db6dc649
("WINGs: fix right and center aligned wtextfield"),
right and center alignments are working in wtextfield.
This commit is contained in:
committed by
Carlos R. Mafra
parent
3f5280987e
commit
3281349f8d
@@ -497,11 +497,6 @@ void WMSetTextFieldAlignment(WMTextField * tPtr, WMAlignment alignment)
|
||||
|
||||
tPtr->flags.alignment = alignment;
|
||||
|
||||
if (alignment != WALeft) {
|
||||
wwarning(_("only left alignment is supported in textfields"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (tPtr->view->flags.realized) {
|
||||
paintTextField(tPtr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user