Old 12-24-2012, 08:43 AM   #1
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 17,633
Default ME: width of Controller drop-down list

A small bit of housekeeping: in the MIDI Editor, can the drop-down (drop-up?) list be made a little wider to the left to cover up the left-hand edge of the piano roll?

<< Edit: picture removed as it was wrong >>

Now that I have noticed it, it looks scrappy.

-----------------------------------
And, yes, being able to widen the piano roll keyboard / note names column would be good.
__________________
DarkStar ... interesting, if true. Inspired by ...

Last edited by DarkStar; 01-10-2019 at 06:43 AM.
DarkStar is offline   Reply With Quote
Old 12-26-2012, 11:22 AM   #2
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 22,289
Default

Actually I'd rather like to be able to NARROW down the piano roll keys, and the CC dropdown down to just CC numbers.
EvilDragon is offline   Reply With Quote
Old 12-26-2012, 05:21 PM   #3
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Just outside of Glacier National Park
Posts: 12,029
Default

Quote:
Originally Posted by EvilDragon View Post
Actually I'd rather like to be able to NARROW down the piano roll keys, and the CC dropdown down to just CC numbers.
Fine with the Keys ED but why the CC Menu? Does it have to be the Exact width of the Piano Roll?

Many of us get by fine with the CC#s but there are those who don't. I would think they could make the CC menu itself wide enough but still allow us to reduce the keyboard.
__________________
Kontakt Vid Tutorials->Create Outputs / Create Templates -|- SMDrums Free drums -|- Elk Video Productions -|- Tod's Music
Tod is online now   Reply With Quote
Old 01-09-2019, 10:41 PM   #4
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 900
Default

Quote:
Originally Posted by Tod View Post
Many of us get by fine with the CC#s but there are those who don't. I would think they could make the CC menu itself wide enough but still allow us to reduce the keyboard.
They could at least make those combo boxes have a wider drop down width so we can see all the text. You could set that from AHK or script with the CB_SETDROPPEDWIDTH flag, heres proof

Make Midi CC drop down widths 80 pixels wider...
Code:
hWnd = reaper.MIDIEditor_GetActive()
if hWnd then
  pview = reaper.JS_Window_FindChild(hWnd, "midipianoview", true)
  arr = reaper.new_array({}, 20)
  reaper.JS_Window_ArrayAllChild(pview, arr)
  kids = arr.table() 
  for i = 1, #kids do
    kids[i] = reaper.JS_Window_HandleFromAddress(kids[i])
    ret, left, top, right, bottom = reaper.JS_Window_GetRect(kids[i])
    reaper.JS_WindowMessage_Post(kids[i], "0x0160", (right-left) + 80, 0,0,0) -- CB_SETDROPPEDWIDTH = 0x0160
  end
end
Edgemeal is offline   Reply With Quote
Old 01-10-2019, 01:08 AM   #5
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 22,289
Default

Haha, brilliant!

Come on, Justin
EvilDragon is offline   Reply With Quote
Old 01-10-2019, 02:15 AM   #6
Bri1
Human being with feelings
 
Bri1's Avatar
 
Join Date: Dec 2016
Location: England
Posts: 1,986
Default

o my dayzzz=ffs,how easy was that!
heh- might even start paying the users instead of cockos!!! rofl..
how old is this?
Bri1 is offline   Reply With Quote
Old 01-15-2019, 12:49 PM   #7
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Axis Mundi
Posts: 5,220
Default

It's stuff like this...and I still wonder...

Quote:
Question: Ever considered hiring some grunts to churn out some of the more nitpicky or tedious requests your customers continuously beg you to implement? Or are there other ways you try to balance your Reaper vision with that of the community? I'm sure you are aware that this is one of the main criticisms of the dev team, so is there any sense of obligation toward ...[balancing the demands of the community with the desires of the devs?]
Asked by Poofox (98.28.44.x) on February 5 2015, 3:42am
Reply on February 5 2015, 5:06pm:

People will always nitpick about stuff no matter how much nitpicking you address. Also those requests aren't always just about tedious work, they often have effects on overall quality/design/maintainability.

Question: Adding to Poofox: it does seem R is getting more and more nitpicked and number of small but irritating bugs seems to be increasing. We can't possibly know how you work, but maybe R is indeed getting big enough to hire more devs?
Asked by Martin (93.136.117.x) on February 5 2015, 9:08pm
Reply on February 5 2015, 10:30pm:

I think people should stop trying to tell us how to do our jobs.
Btw, can a script like this do the same for the shortcuts in the actions list? It is so small it becomes pretty useless for listing MIDI shortcuts.
__________________
TwilightMysterySchool
foxAsteria is online now   Reply With Quote
Old 01-15-2019, 04:49 PM   #8
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 900
Default

Quote:
Originally Posted by foxAsteria View Post
Btw, can a script like this do the same for the shortcuts in the actions list? It is so small it becomes pretty useless for listing MIDI shortcuts.
Probably, but only temporarily, note when window is updated (e.g. resized) reaper resets the control bounds.
First run the script to resize the shortcut area, then select item from list you want to edit (add/delete).
See script code, current resize width is +60 (per script run).


Use at your own risk!

EDIT #2: Script updated, noticed the listbox height and width were off by 4 pixels.
Attached Files
File Type: lua Actions Shortcuts Width.lua (1.4 KB, 6 views)

Last edited by Edgemeal; 01-17-2019 at 10:11 AM. Reason: final touches on script
Edgemeal is offline   Reply With Quote
Old 01-15-2019, 06:42 PM   #9
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Axis Mundi
Posts: 5,220
Default

Woa that's cool! Thanks! That easy and it's been sitting in its current, crippled form for the last 10 years?? I just don't get it.
__________________
TwilightMysterySchool
foxAsteria is online now   Reply With Quote
Old 01-17-2019, 10:06 AM   #10
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 900
Default

Quote:
Originally Posted by foxAsteria View Post
Woa that's cool! Thanks! That easy and it's been sitting in its current, crippled form for the last 10 years?? I just don't get it.
I get it, its not always simple to change the interface, and time spent changing & testing could be spent on more important things. But I don't see why the CC MIDI combobox dropdown couldn't be updated to be wider, that shouldn't effect anything thats already there.

v2.0 Move the labels out of the way, so Actions window can be smallest width, though the labels text is right aligned they don't line up very well, this is all a hack anyway, mainly posted for fun.

Attached Files
File Type: lua Actions Shortcuts Width v2.0.lua (2.5 KB, 4 views)
Edgemeal is offline   Reply With Quote
Old 01-17-2019, 11:11 AM   #11
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Axis Mundi
Posts: 5,220
Default

Quote:
Originally Posted by Edgemeal View Post
I get it, its not always simple to change the interface, and time spent changing & testing could be spent on more important things.
I get that, I mean things like this which are clearly deficient and worth the time to fix because they would increase everyone's productivity. There are so many rough snags like this in Reaper that could be ironed out for an overall smoother experience, but they go unaddressed for many years. I think it's the most common complaint I see about Reaper as well. But thanks for this script! It is working just fine.
__________________
TwilightMysterySchool
foxAsteria is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.