Hi,
I wanted to know if theres a way to keep each window scalable, because how it is now, the bigger the DirectX window is, the CEGUI windows are bigger and more pixalated.
If you don't understand what I mean here are some examples:
Standard:
http://pokit.etf.ba/upload/?pokit95edca ... 663749.png
Maximized:
http://pokit.etf.ba/upload/?pokit80c7c4 ... d9fb12.png
I want to use CEGUI on a full-screen game, is there a way to keep the CEGUI windows at the correct size?
Scaling of windows
Moderators: CEGUI MVP, CEGUI Team
Re: Scaling of windows
I believe this was answered on IRC.
Code: Select all
(5:35:26 PM) CrazyEddie: StrickenKid: turn off auto scaling in the Imageset(s)
(5:35:58 PM) CrazyEddie: look in the xml files, you'll see a setting attribute for it
(5:36:08 PM) CrazyEddie: .imageset files
(5:37:07 PM) CrazyEddie: that'll work for most stuff
(5:37:59 PM) StrickenKid: ok
(5:38:01 PM) StrickenKid: ill try
(5:38:06 PM) CrazyEddie: you can turn it off in fonts too, though you may not want to
(5:38:26 PM) StrickenKid: i just want it to look right when the game is maximised
(5:38:44 PM) CrazyEddie: to stop window geometry from scaling you have to use only offset values for sizes and not scale values
(5:39:31 PM) CrazyEddie: so rather than: UDim(0.25, 0) you have UDim(0, 200)
(5:40:06 PM) Kulik: StrickenKid: if you want the sizes to not scale but window positions to scale (this is most situations IMO), just use tricks like UDim(1.0, -200) that means all the way to the right and then 200px to the left from here
(5:41:01 PM) CrazyEddie: or do similar things via using window alignments
Who is online
Users browsing this forum: No registered users and 2 guests