On Mac, the default display of the Scripting window leaves 2 button out without hints of their presence: [12] and [RUN].
Is that the case on all Macs?
I suggest a vertical layout with the [RUN] button at the top.
It would take too much space, IMHO. It would be simplest to dimension the window so that all buttons fit automatically (unless the screen is too small).
Didier
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried on the laptop and on the imac and both show this behaviour, and not
because of lack of screen space.
The problem with resizing the window is that there is no indication that
the window needs resizing to display the full contents. So a first time
user is left without a way to run the script since the RUN button won't
show.
On Mac, the default display of the Scripting window leaves 2 button out
without hints of their presence: [12] and [RUN].
Is that the case on all Macs?
I suggest a vertical layout with the [RUN] button at the top.
It would take too much space, IMHO. It would be simplest to dimension the
window so that all buttons fit automatically (unless the screen is too
small).
The problem with resizing the window is that there is no indication that
the window needs resizing to display the full contents. So a first time
user is left without a way to run the script since the RUN button won't
show.
What part of "automatically" did you miss? :)
Didier
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem with resizing the window is that there is no indication that
the window needs resizing to display the full contents. So a first time
user is left without a way to run the script since the RUN button won't
show.
What part of "automatically" did you miss? :)
Didier
[bugs:#646] Scripting window layout leaves "RUN" button out
Status: open
Created: Fri Dec 27, 2013 02:31 PM UTC by Jean-Christophe Helary
Last Updated: Fri Dec 27, 2013 04:40 PM UTC
Owner: nobody
On Mac, the default display of the Scripting window leaves 2 button out without hints of their presence: [12] and [RUN].
See attached screenshot.
I suggest a vertical layout with the [RUN] button at the top.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At the location you mention (// Remove a script from the button bar), I think the spaces are only there to clean the < and > of a previously allocated location.
Didier
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Honestly, I prefer the vertical layout, eventually on the left of the window (and not on the right as in my mock-up).
But anything that shows the whole thing is fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is that the case on all Macs?
It would take too much space, IMHO. It would be simplest to dimension the window so that all buttons fit automatically (unless the screen is too small).
Didier
I tried on the laptop and on the imac and both show this behaviour, and not
because of lack of screen space.
The problem with resizing the window is that there is no indication that
the window needs resizing to display the full contents. So a first time
user is left without a way to run the script since the RUN button won't
show.
On Sat, Dec 28, 2013 at 1:40 AM, Didier Briel didierbr@users.sf.net wrote:
Related
Bugs:
#646What part of "automatically" did you miss? :)
Didier
The part where it was not visible on my screen… ;)
But I still think a vertical layout would take less space
On Dec 28, 2013, at 19:02, Didier Briel didierbr@users.sf.net wrote:
Can you send me a crude mock-up?
Didier
Here is the crude mock-up.
Thanks, I understand now what you mean by "vertically".
It does gain space (in some cases), but you loose in usability, IMHO.
I still think automatic redimensionning would be a better solution.
Didier
Free quick buttons set text like this.
These two spaces makes button wider.
So probably the most easiest solution is getting rid of both side spaces.
Just a thought.
At the location you mention (// Remove a script from the button bar), I think the spaces are only there to clean the < and > of a previously allocated location.
Didier
Thank you for pointing it out.
I tried to trim button text. See attached screenshot.
Button widths are shrank, but it seems not enough for the case.
I changed the buttons layout from FlowLayout to BoxLayout.
It seems OK for me.
What do you think?
That doesn't look bad. I think you can commit to /trunk. That way, Jean-Christophe will be able to test on his Mac.
Didier
Honestly, I prefer the vertical layout, eventually on the left of the window (and not on the right as in my mock-up).
But anything that shows the whole thing is fine.
Button 12 is now visible, but not button RUN.
Going to BoxLayout is not a solution then. Sorry Yu Tang, I revert.
Didier
No problem at all.
Well, now I'm considering buying a Mac Air or Pro.
Fixed in SVN (/trunk).
It was fixed by changing slightly the layout and by putting the Run button on the left.
Didier
Closing.
Fixed in the released version 3.1.0 of OmegaT.
Didier