Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Columns UI (Read 4559326 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: Columns UI

Reply #7250
Mmmmm....

I reckon this lack of answers means that what I'm asking is not possible....

Anybody?

Thanks.

Re: Columns UI

Reply #7251
No, it's not possible to change the font or style of just the active tab. The playlist tabs uses a standard Windows tab control and so appearance customisation is limited. The control does have a mode where the tabs are custom-drawn, but that mode is quite limited and results in all tabs being the same width. So, implementing that would most likely mean writing a custom control (which many other elements of the UI already are),
.

Re: Columns UI

Reply #7252
Do you have any advice on how to make the tab of the active playlist stand up (in whatever way you can think) among the others?

Thanks.


Re: Columns UI

Reply #7253
If you want to stick to tabs, probably nothing (maybe windows themes). If you pick other playlist managers, many can color the names based on titleformatting.

Re: Columns UI

Reply #7254
Hello Dear musicmusic,
I'm happy to use Columns UI, I really like it, thanks for your work!
And I would like to offer one improvement.
Could you realize the possibility of viewing the full contents of the MOD/XM sample list in the window "Item properties" of CUI as in XMPlay (See attach XMP pic).
Now all the sample text is not visible in the window only if you select the function properties (See attach Foobar CUI).

Thank You.
Best Regards.

Re: Columns UI

Reply #7255
Is there any way I can "lock down" the theme in regards to the context menu, so that stuff like "Splitter Settings" doesn't appear?

 

Re: Columns UI

Reply #7256
Quite often, after I change the display script of a column - for instance, from %genre% to %artist%,
I can't see the change until I restart FB (1.3.8).

The strange thing is that it doesn't happen always.

Any advice on where to look to find the culprit?

Thanks.

Re: Columns UI

Reply #7257
Hello Dear musicmusic,
I'm happy to use Columns UI, I really like it, thanks for your work!
And I would like to offer one improvement.
Could you realize the possibility of viewing the full contents of the MOD/XM sample list in the window "Item properties" of CUI as in XMPlay (See attach XMP pic).
Now all the sample text is not visible in the window only if you select the function properties (See attach Foobar CUI).
Perhaps you could add SMPL00, SMPL01 etc. as fields in item properties?

Is there any way I can "lock down" the theme in regards to the context menu, so that stuff like "Splitter Settings" doesn't appear?
Not sure which 'splitter settings' you're referring to, but I suspect the answer is no.

Quite often, after I change the display script of a column - for instance, from %genre% to %artist%,
I can't see the change until I restart FB (1.3.8).

The strange thing is that it doesn't happen always.

Any advice on where to look to find the culprit?

Thanks.
They should apply when you click on Apply or leave/close that preferences page. The only other thing I can think of is that somehow that playlist view instance is lost track of. Next time it happens, see if other settings like vertical item padding still take effect.
.

Re: Columns UI

Reply #7258
It happened again and I could see that both vertical item padding and horizontal alignment worked.

To me, it seems as the titleformatting is not evaluated.

Next time I will try and change the script in some other column to see if it works.

Thanks.

Re: Columns UI

Reply #7259
I copied the install on another PC (W7 32) and the behaviour it is the same.

I opened the console but there is nothing there.

Thanks.

Re: Columns UI

Reply #7260
So can you reliably reproduce it? Perhaps you could send me your config file (or export to an FCL file) and tell me which column you're editing, and what you're changing the display script to.
.

Re: Columns UI

Reply #7261
The reproduction it's not so reliable because sometimes
the problem doesn't show up.

I will do some testing to try and reproduce it consistently
so we will have some more clues, hopefully.

Thanks.


Re: Columns UI

Reply #7263
In the new NG playlist view I'd like to have the same look as I have now in the old CP but
it seems that I don't understand how to "port" the colors pattern from old CP to NG.
Here what I have and what I get:

CP look
    

NG look


Global colour settings


CP settings


NG settings


Playing track selected


Playing track not selected


Thanks.

Edit: added last two pics.

Re: Columns UI

Reply #7264
Do you have a global string set? Is 'Enabled legacy support for globals (Columns Playlist only)' turned on?
.

Re: Columns UI

Reply #7265
Yes.
Yes.

I'm trying to understand the new (for me, as it was long, long time ago...) syntax
and formatting rules to get to where I would.

This is my "on progress" strings and their result.
I'm not using the "Variables" tab in the Globals of Playlist view and I'm putting everything
into the "Script" tab: is it correct?


Code: [Select]
$puts(back,$rgb(63,63,63)) //back no tracks
$puts(back-odd,$rgb(27,64,101)) //back track odd rows
$puts(back-even,$rgb(24,58,92)) //back track even rows
$puts(back-selected,$rgb(45,106,168)) //back selected
$puts(back-play-no-focus,$rgb(133,37,54)) //back playing no focus
$puts(back-play,$rgb(45,106,168)) //back playing focus
$puts(text-play,$rgb(255,255,0)) //text playing focus
$puts(text,$rgb(255,255,255)) //text
$puts(frame,$rgb(220,220,220)) //text

$if(%_isplaying%,$set_style(text,$get(text-play),$get(text-play)),
$set_style(text,$get(text),$get(text)))

$if(%_isplaying%,
$set_style(frame-top,1,$get(text-play)
$set_style(frame-bottom,1,$get(text-play)
$set_style(frame-left,1,$get(text-play)
$set_style(frame-right,1,$get(text-play),
$set_style(frame-top,1,$get(frame)
$set_style(frame-bottom,1,$get(frame)
$set_style(frame-left,1,$get(frame)
$set_style(frame-right,1,$get(frame))

$set_style(back,
$if($strcmp($mod(%_playlist_number%,2),1),
$get(back-even),$get(back-odd)),
$get(back-selected),
$if(%_isplaying%,
$get(back-play-no-focus),
$get(back-play)))

NG play not selected


NG play selected


Thanks.

Re: Columns UI

Reply #7266
Ah, yes, there's a legacy syntax to the style script too.

Yes, that looks reasonable from a quick scan. You might want to check the bit at the end where you have
Code: [Select]
$if(%_isplaying%,
$get(back-play-no-focus),
$get(back-play))
as I'm not sure if it's what you intended.
.

Re: Columns UI

Reply #7267
In the end it seems I got the grip of it!

My scripting was very rusty and above all the attention to the minute details (i.e. parenthesis pairing...)
was not on par so I spent most of the time trying to figure out why my "back" style string was not
giving the expected result, just to find out that above that there was a "frame" style string with many
unpaired parenthesis.

Anyway, this is the outcome.


Is it possible that the colours rendering of the old CP was brighter (or different) than the one of the NG?
But maybe that's just my eyes. Color picker gives the same values and in the screenshot above they look the same.

Thanks for you support.

Re: Columns UI

Reply #7268
Is there a way to set different values for the frame for selected and not selected items?

Thanks.

Re: Columns UI

Reply #7269
Is it possible that the colours rendering of the old CP was brighter (or different) than the one of the NG?
If they are configured equivalently, I don't see a reason why the colours would look different.

Is there a way to set different values for the frame for selected and not selected items?
Sorry, no – it's the same for both.
.

Re: Columns UI

Reply #7270
Ok.

Thanks all the same.

I'm a happy chap, now.

Re: Columns UI

Reply #7271
Any way to disable the "FB mask" when I drag around the tracks in a playlist?
(Or to change the mouth into a smile, at least?)

Thanks.

Re: Columns UI

Reply #7272
Mouth? It's a cat, it's its nose.

Re: Columns UI

Reply #7273
Any way to disable the "FB mask" when I drag around the tracks in a playlist?
(Or to change the mouth into a smile, at least?)
You must be running an old version. That cat was pretty unpopular...
.

Re: Columns UI

Reply #7274
I will check and eventually upgrade to 0.51 (still on XP on one PC).

I didn't see the cat vanishing mentioned into the changelog.
But maybe I overlooked it.

Thanks.