Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

edit_box not working (walkabout) #282

Open
Dassadar opened this issue Mar 3, 2016 · 15 comments
Open

edit_box not working (walkabout) #282

Dassadar opened this issue Mar 3, 2016 · 15 comments

Comments

@Dassadar
Copy link

Dassadar commented Mar 3, 2016

Hello,

An edit_box is not displayed on my following ruby example, can you please help?

Shoes.app do
    app.stack do
        app.flow do
            app.stack width:95 do
                app.inscription "Personal comments:", align: "right"
            end
            comPerso = app.edit_box height: 40, width: 201
            valButton = app.image "img/ok.jpg", height: 25, width: 45, margin_left: 10, margin_right: 10
        end
    end
end

Thx & regards,
David

@ccoupe
Copy link

ccoupe commented Mar 3, 2016

remove the app. from the start of stack, flow, edit_box and image. also remember Shoes 3.2/3 has a different issue page. As does Shoes 4

@Dassadar
Copy link
Author

Dassadar commented Mar 3, 2016

Thx.
But it unfortunately doesn't fix:

Shoes.app do
    stack do
        flow do
            stack width:95 do
                inscription "Personal comments:", align: "right"
            end
            comPerso = edit_box height: 40, width: 201
            valButton = image "img/ok.jpg", height: 25, width: 45, margin_left: 10, margin_right: 10
        end
    end
end

@ccoupe
Copy link

ccoupe commented Mar 3, 2016

That code works on my Ubuntu box! I don't have img/ok.jpg which the Shoes console tell me about. What error message are you getting - alt / to get the console.

@Dassadar
Copy link
Author

Dassadar commented Mar 3, 2016

Here is the screenshot: all is there, except the edit_box. I get no error
message. Any idea?

2016-03-03 23:06 GMT+01:00 Cecil Coupe [email protected]:

That code works on my Ubuntu box! I don't have img/ok.jpg which the Shoes
console tell me about. What error message are you getting - alt / to get
the console.


Reply to this email directly or view it on GitHub
#282 (comment).

@ccoupe
Copy link

ccoupe commented Mar 3, 2016

screenshot from 2016-03-03 16 22 08

@Dassadar
Copy link
Author

Dassadar commented Mar 4, 2016

Hi,

Ok, strange...
Actually worse; this dislpays nothing:

Shoes.app do
edit_box
end

What do you need to progress please?

Regards,
David

2016-03-04 0:23 GMT+01:00 Cecil Coupe [email protected]:

[image: screenshot from 2016-03-03 16 22 08]
https://cloud.githubusercontent.com/assets/222691/13513138/339a77b8-e15c-11e5-9bd4-d9ac505521e4.png


Reply to this email directly or view it on GitHub
#282 (comment).

@ccoupe
Copy link

ccoupe commented Mar 4, 2016

We need to verify that you've installed Shoes. Are you running from the Menus or the command line? Linux or Windows? . Can you run Shoes at all - the manual? the maintain shoes? the samples in the manual->furthermore ?

@Dassadar
Copy link
Author

Dassadar commented Mar 5, 2016

Hi Cecil,

Same story via command line or via the Shoes GUI.
OS is Linux Ubuntu 15.10

All the rest works perfect: I mean the whole interface I designed has all
except the 2 edit_box.

Regards,
David

2016-03-04 7:20 GMT+01:00 Cecil Coupe [email protected]:

We need to verify that you've installed Shoes. Are you running from the
Menus or the command line? Linux or Windows? . Can you run Shoes at all -
the manual? the maintain shoes? the samples in the manual->furthermore ?


Reply to this email directly or view it on GitHub
#282 (comment).

@ccoupe
Copy link

ccoupe commented Mar 5, 2016

In samples is simple-control-sizes.rb (or the Packaging, or Maintain Shoes->Manage_Gems) all use edit_boxes, if they work, then the problem would be something in your code like somehow they are defaulted to hidden state or Shoes just doesn't see them as Shoes methods. If edit_boxes don't show up in the examples mentioned then it's something much much different that would affect all applications on your machine, not just Shoes.

@Dassadar
Copy link
Author

Dassadar commented Mar 5, 2016

Hi,

Here is the result:

Does it look fine?

Regards,

David

Le 2016-03-05 21:05, Cecil Coupe a écrit :

In samples is simple-control-sizes.rb (or the Packaging, or Maintain Shoes->Manage_Gems) all use edit_boxes, if they work, then the problem would be something in your code like somehow they are defaulted to hidden state or Shoes just doesn't see them as Shoes methods. If edit_boxes don't show up in the examples mentioned then it's something much much different that would affect all applications on your machine, not just Shoes.

Reply to this email directly or view it on GitHub [1].

Links:

[1] #282 (comment)

@ccoupe
Copy link

ccoupe commented Mar 6, 2016

You have to attach files using the web browser #282 . Replying in email doesn't send them to github (or to mail box)

@Dassadar
Copy link
Author

Dassadar commented Mar 6, 2016

Sorry, here it is!
0ab6ec59

@ccoupe
Copy link

ccoupe commented Mar 6, 2016

Here's what it should look like:
screenshot from 2016-03-06 00 05 42

That screams some sort of theme problem. Notice edit box and edit list are both wrong! However, you do have edit_lines. Do you have some sort of mobile friendly theme installed. I'm Ubuntu 14.04.

@Dassadar
Copy link
Author

Dassadar commented Mar 6, 2016

What should I do then please?
My shoes build is 3.3.0 r2333.

@ccoupe
Copy link

ccoupe commented Mar 6, 2016

Please posting a new issue at https://github.com/Shoes3/shoes3 since this site is only for very old Shoes. Over there, are some additional folks that don't monitor this old site. They may have better ideas. Be sure to mention Ubuntu 15.10. This is very disturbing. If if you just want to click things, then you could change themes and/or check the settings inside.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants