How to increase the size of the auto_closebutton

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

sudhakar
Just popping in
Just popping in
Posts: 17
Joined: Wed Dec 21, 2011 16:46

How to increase the size of the auto_closebutton

Postby sudhakar » Mon Jul 01, 2013 14:17

Hi All,

Could you please let me know how we can increase the size of the __auto_closebutton__ .

Small Red 'x' Used to Close Windows Is Too Small on CEGUI framewindow.

Thanks,
Sudhakar

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: How to increase the size of the auto_closebutton

Postby Kulik » Mon Jul 01, 2013 14:59

By altering the LookNFeel of the FrameWindow.

sudhakar
Just popping in
Just popping in
Posts: 17
Joined: Wed Dec 21, 2011 16:46

Re: How to increase the size of the auto_closebutton

Postby sudhakar » Mon Jul 01, 2013 15:18

Hi ,

What specific values/parameters do we need to change to achieve the increased size of auto_close button.

I have tried to change the value in <AbsoluteDim value="0.6"> earlier it was 0.5 but it seems there is no increase.

in the loonfeel xml I have some thing like this.

<Dim type="LeftEdge">
<UnifiedDim scale="1" type="LeftEdge">
<DimOperator op="Subtract">
<AbsoluteDim value="0.6">
<DimOperator op="Multiply">
<ImageDim imageset="XYZLook" image="CloseButtonNormal" dimension="Width">
<DimOperator op="Add">

Thanks
Sudhakar

sudhakar
Just popping in
Just popping in
Posts: 17
Joined: Wed Dec 21, 2011 16:46

Re: How to increase the size of the auto_closebutton

Postby sudhakar » Tue Jul 02, 2013 08:31

Hi All,

Could you please let me know your suggestions / ideas on the incresing the size of the auto_close button.
Appreciate your help.

I have tried by incresing the <AbsoluteDim value="0.6"> from 0.5 but no luck. in looknfeel xml file.

Please let me know how to and what specific values we need to change in look n feel xml

Thanks,
Sudhakar

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: How to increase the size of the auto_closebutton

Postby Kulik » Tue Jul 02, 2013 11:20

Are you sure you aren't increasing 0.5px to 0.6px? That certainly would have a negligible effect. I would have to check the docs to verify.

Please, check the docs.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 10 guests