About Store Forum Documentation Contact



Post Reply 
Scrollbars
Author Message
Panerox Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
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
Find all posts by this user Quote this message in a reply
Panerox Offline
Member

Post: #3
RE: Scrollbars
i have found the problem. ill try to explain a problem on steps.
1)i create a window... create a region in the window... also i create 4 Custom object (see the screenshot 1)
2)i save GUI in a file and i open it again
3)then i delete Custom3 and Custom4 (see the screenshot 2)
4)and when i change size of the region there are scrollbars (see the screenshot 3)


Attached File(s) Image(s)
           
(This post was last modified: 02-04-2010 11:21 AM by Panerox.)
02-04-2010 11:18 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Scrollbars
you need to call Region::setSize(NULL) to recalculate region size
02-04-2010 03:51 PM
Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #5
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
Visit this user's website Find all posts by this user Quote this message in a reply
Panerox Offline
Member

Post: #6
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
RE: Scrollbars
ah.. ok I understand now,
I'll do something about it in the Gui Editor
02-04-2010 06:20 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #8
RE: Scrollbars
I've improved this, it will be in the next release in few minutes smile
02-05-2010 02:10 AM
Find all posts by this user Quote this message in a reply
Panerox Offline
Member

Post: #9
RE: Scrollbars
thank yousmile
02-05-2010 09:35 AM
Find all posts by this user Quote this message in a reply
Post Reply