opatut
23-04-2011 10:06:14
Hey! How would I go about placing a widget (from xml) in the bottom left corner of the screen (at any resolution) but with a fixed pixel size, so it does not resize when I stretch the window but stays in the bottom left corner? I would need some combination of position_real, align and size... In CSS it would be
Is this possible without coding or do I have to use my windowresized event from ogre?
/edit: Think of a minimap... It should not become bigger only because a player has a bigger screen
// CSS example
position: absolute;
right: 10px;
bottom: 10px;
width: 100px;
height: 100px;
Is this possible without coding or do I have to use my windowresized event from ogre?
/edit: Think of a minimap... It should not become bigger only because a player has a bigger screen
