Panerox
Member
|
Scrollbars
When I edit Region there are visible scrollbars which are absolutely not necessary to me. How to me to disable scrolling in general?
I tried to delete:
Code:
Region:: view.del ();
Region:: slidebar [0].del ();
Region:: slidebar [1].del ();
but it has not helped. Whether I do not know correctly to do so.
I have not found as to switch off automatic occurrence of scrollbars.
(This post was last modified: 01-13-2010 10:35 AM by Panerox.)
|
|
01-13-2010 10:35 AM |
|
Esenthel
Administrator
|
RE: Scrollbars
they should appear only when you add elements to the region which don't fit in the region itself.
could you make a screenshot of the situation?
|
|
01-13-2010 05:58 PM |
|
Panerox
Member
|
|
02-04-2010 11:18 AM |
|
Esenthel
Administrator
|
RE: Scrollbars
you need to call Region::setSize(NULL) to recalculate region size
|
|
02-04-2010 03:51 PM |
|
Masterxilo
Member
|
RE: Scrollbars
Make sure you call region.setSize(NULL); after deleting the two objects.
Edit: he was faster xD
System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3
Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
(This post was last modified: 02-04-2010 03:53 PM by Masterxilo.)
|
|
02-04-2010 03:53 PM |
|
Panerox
Member
|
RE: Scrollbars
i have created a window and region in the GUI editor.
in game i only load gobj and i do nothing with regions at all.
i dont change size of a region in game.
scrollbars appeared when i edited window in Gui Editor.
|
|
02-04-2010 05:29 PM |
|
Esenthel
Administrator
|
RE: Scrollbars
ah.. ok I understand now,
I'll do something about it in the Gui Editor
|
|
02-04-2010 06:20 PM |
|
Panerox
Member
|
RE: Scrollbars
thank you
|
|
02-05-2010 09:35 AM |
|