OK button

Just started using Construct 2? Post your questions here

Post » Wed Aug 06, 2014 11:06 am

I can't get my button to display. I have tried everything. It is set to visible and placed on my layout but nothing shows up when I run my project.

ButtonIssues.capx
You do not have the required permissions to view the files attached to this post.
Last edited by creith on Thu Aug 07, 2014 9:12 pm, edited 1 time in total.
B
4
S
1
G
1
Posts: 7
Reputation: 336

Post » Wed Aug 06, 2014 11:16 am

Save your project as a single file(,capx) and attach to your post. It's impossible to say what the problem is otherwise. It could be anything, such as from it on a hidden layer. But without seeing what you've done, it will be difficult to help.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,422
Reputation: 59,530

Post » Thu Aug 07, 2014 9:16 pm

I have added the attachment to my original post. Thanks for offering to help. I did move the OK button to my tileboard layout and it displayed. I need it to display below my tileboard. Playing around with the window size in project properties, I discovered that if I make the window longer, the button will display. As I downsize it, the button shrinks and ultimately disappears. I thought that so long as the entire button was positioned above the dotted lines, it should display.
B
4
S
1
G
1
Posts: 7
Reputation: 336

Post » Fri Aug 08, 2014 6:44 am

you mean like this
You do not have the required permissions to view the files attached to this post.
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,763

Post » Sat Aug 09, 2014 3:11 am

Yeah. I can see the button is very large. I got rid of the events and resized the button to 35,22 and placed it well inside the window. Unless I make the window very long (700), the button shrinks and eventually disappears. Button is placed at 39,532. I don't want a 700 long window.

Game2.capx
You do not have the required permissions to view the files attached to this post.
B
4
S
1
G
1
Posts: 7
Reputation: 336

Post » Sat Aug 09, 2014 9:58 am

creith try change line
You do not have the required permissions to view the files attached to this post.
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,763

Post » Tue Aug 12, 2014 8:02 pm

I did downsize button but that wasn't the the real problem. I left my layout longer than my window and the problem was resolved. The window size wasn't the real problem, it was actually the layout size.
B
4
S
1
G
1
Posts: 7
Reputation: 336


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 3 guests