Page 1 of 1

How to increase the size of the auto_closebutton

Posted: Mon Jul 01, 2013 14:17
by sudhakar
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

Re: How to increase the size of the auto_closebutton

Posted: Mon Jul 01, 2013 14:59
by Kulik
By altering the LookNFeel of the FrameWindow.

Re: How to increase the size of the auto_closebutton

Posted: Mon Jul 01, 2013 15:18
by sudhakar
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

Re: How to increase the size of the auto_closebutton

Posted: Tue Jul 02, 2013 08:31
by sudhakar
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

Re: How to increase the size of the auto_closebutton

Posted: Tue Jul 02, 2013 11:20
by Kulik
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.