Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graphic Design (https://forums.graalonline.com/forums/forumdisplay.php?f=9)
-   -   GUI Style (https://forums.graalonline.com/forums/showthread.php?t=82969)

Gothika 12-02-2008 12:34 AM

GUI Style
 
6 Attachment(s)
I don't know if this is right forum to post it on. But I've been making a GUI style for a server I'm working at and I've encountered a problem. I can't seem to find which part of the style is ment to be the textbox. I thought it was block on the bottom left of the scroll style, but when I try it with my style is just shows the background from the window style.
I'm sorry if I can't explain this very well. Hopefully these screenshots will show what I mean. The first 2 styles are mine, and the other 2 are the default ones. And if you look at the screenshots you will see that textbox on the default verson is using the image from the defaultscroll. But my verson isn't using the image from my scroll.
Basicly I want to know which control is the text box. Thanks in advanced.

cbk1994 12-02-2008 01:26 AM

The text box doesn't have an image you edit. This article should help you with what you're trying to accomplish.

EDIT: I think I misunderstood you. Can you explain a bit better which control and what you're trying to do, and show the script you're using?

xXziroXx 12-02-2008 01:36 AM

Irrelevant, but you might be interested in knowing that you can resize any of the sections of the GUI template to be as big or small as you want, and it will still work. The only thing you can't do is rearrange their positions.

cyan3 12-02-2008 02:08 AM

Quote:

Originally Posted by cbk1994 (Post 1446118)
The text box doesn't have an image you edit. This article should help you with what you're trying to accomplish.

EDIT: I think I misunderstood you. Can you explain a bit better which control and what you're trying to do, and show the script you're using?

PHP Code:

     new GuiScrollCtrl("News_Scroll") {
       
useownprofile true;
       
profile.bitmap "guiso_scroll.png";
       
height 220;
       
width 470;
       
hscrollbar "alwaysOff";
       
vscrollbar "dynamic";
       
10;
       
30;
     
     new 
GuiMLTextCtrl("News_TextList") {
       
useownprofile true;
       
profile.bitmap "guiso_scroll.png";
       
height 32;
       
width 470;
       
horizsizing "width";
       
text = ("Testing this gui style");
       
1;
       
1;
      }
    } 


Gothika 12-02-2008 02:10 AM

Quote:

Originally Posted by cbk1994 (Post 1446118)
TI think I misunderstood you. Can you explain a bit better which control and what you're trying to do, and show the script you're using?

What I'm trying to do is make the text box a different colour than the background. Like it is while using the default skin. In the default one you'll see the background is yellow, and the text box is red. What I want is to have the text box the darker verson of background that is shown as the bottom left command in my verson of the scroll skin.

cbk1994 12-02-2008 03:13 AM

GuiMLTextCtrl does not have a background as part of the profile, nor an image. You need to change the one for the scroll that the text is inside for it to work. I believe this can be accomplished by either an image or a profile.fillcolor; the link I provided originally will help you with that.


All times are GMT +2. The time now is 03:50 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.