monospace font for Lua Script Window

This commit is contained in:
Robin Gareus 2016-03-25 01:49:14 +01:00
parent 83fdfd89f7
commit c8b7d70ffa
2 changed files with 4 additions and 2 deletions

View File

@ -1170,6 +1170,7 @@ widget "*AddRouteDialogNameTemplateEntry" style:highest "medium_bold_entry"
widget "*NewSessionSR1Label" style:highest "red_medium_text"
widget "*NewSessionSR2Label" style:highest "medium_text"
widget "*location edit row clock" style:highest "medium_text"
widget "*ArdourLuaEntry" style:highest "medium_monospace_text"
widget "*LocationEditNameLabel" style:highest "medium_text"
widget "*LocationEditCdButton" style:highest "small_red_active_and_selected_button"
widget "*LocationEditCdButton*" style:highest "small_red_active_and_selected_button"

View File

@ -133,6 +133,9 @@ LuaWindow::LuaWindow ()
scrollout.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_ALWAYS);
scrollout.add (outtext);
entry.set_name ("ArdourLuaEntry");
outtext.set_name ("ArdourLuaEntry");
Gtk::HBox *hbox = manage (new HBox());
hbox->pack_start (_btn_run, false, false, 2);
@ -192,8 +195,6 @@ void LuaWindow::reinit_lua ()
LuaInstance::register_classes (L);
luabridge::push <PublicEditor *> (L, &PublicEditor::instance());
lua_setglobal (L, "Editor");
}
void LuaWindow::set_session (Session* s)