Question / Help Recording Button

jsanchezdor

New Member
Hi.

I would like use obs to record a lot of telemedicine sessions, so customer only should see Start/Stop recording button.

I know how hide rest of pannels, but, there is any option to hide control pannel and add only a recording button?

Thank you in advance.
 

jsanchezdor

New Member
Nope. But, is this really needed for your task? You can preview any source you recording (Windowed Projector option, for example, or Audio Monitoring). The recording can be started and stopped by Hotkeys (just assign you need).

Look at the guides and find some tutorials: https://obsproject.com/forum/resources/categories/guides-studio.8/

Unfortunatelly, system's users are doctors who have not engouth knowledge about computers, so we would like only appear Recording button to avoid wrongs in use.

I'm edditing Ranchi theme with ccs editor and I have get put Recording button bigger, but I cannot eliminate rest of buttons.
 

Suslik V

Active Member
Better to use hotkeys. But if you wish it so badly, possible css code:
Code:
QPushButton#streamButton,
QPushButton#modeSwitch,
QPushButton#settingsButton,
QPushButton#exitButton {
    qproperty-enabled: false;
    border: none;
    border-image: none;
    max-width: 0px;
    max-height: 0px;
}
add it at the end of .qss file.
 

jsanchezdor

New Member
wow!!! this code works very fine!!!!!

Thank you so much.

You can see the final result next. Very easy to our customer.

25ujnyt.png
 

ES_SG

New Member
Hi Guys

Trying to also get rid of the "Start Virtual Cam" - Button but

QPushButton#VCamButton" doesn't seem to work.

Any ideas?
 

Suslik V

Active Member
@ES_SG you can uninstall virtual camera driver from the PC - the button will disappear.
path:
Code:
data\obs-plugins\win-dshow\virtualcam-uninstall.bat

or you can use property themeID="vcamButton" that is in use (no object name is assigned to this widget, so "#" wouldn't work here):
Code:
QPushButton[themeID="vcamButton"] {
    qproperty-enabled: false;
    border: none;
    border-image: none;
    max-width: 0px;
    max-height: 0px;
}
 
Last edited:

Hbeen

New Member
Thanks to that, I was able to hide the widget well.
But it leaves a strange mark like the picture, is this unavoidable?

2022-05-19_001.png
 

Suslik V

Active Member
@Hbeen The newer themes (mostly non-System) for OBS Studio has padding setting for the QPushButton objects. Thus, the example mentioned above should be slightly modified:
CSS:
QPushButton#streamButton,
QPushButton#modeSwitch,
QPushButton#settingsButton,
QPushButton#exitButton {
    qproperty-enabled: false;
    border: none;
    border-image: none;
    max-width: 0px;
    max-height: 0px;
    padding: 0px; /* Additional setting for the non-System themes */
}

Long time ago the System theme was default for OBS, not the Dark one, so there is difference.
 
Top