Yes possible, just in layout the width should be inf and height too,
Uncheck shrink width to content