GtkEntry width seems to be hardcoded

Is the width of a GtkEntry hardcoded? Can it be changed from css

It isn’t hardcoded, you can change its width-request, but you might have to set halign to something other than GTK_ALIGN_FILL.

As @monster said, it’s not hardcoded, and you cannot change the size via CSS.

You should only change the size requested by an entry using the following properties:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.