asset menu size fixups, new picons+prefs, more timecode del, stretch scrollbars,...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / assetedit.C
index ce91d691ee8b868ec17d4aeabdcc4a99e5dd79e8..b5a733bc3a4153de67a8a349a79599f10b22831f 100644 (file)
@@ -188,16 +188,13 @@ BC_Window* AssetEdit::new_gui()
 int AssetEdit::window_height()
 {
        int h = 128 + 64;
-       if( indexable->have_audio() )
-               h += 180;
+       if( indexable->have_audio() ) h += 200;
        if( indexable->have_video() ) {
-               h += 200;
+               h += 210;
                if( indexable->is_asset ) {
                        Asset *asset = (Asset *)indexable;
                        if( asset->format == FILE_MPEG ||
-                           asset->format == FILE_FFMPEG ) {
-                               h += 40;
-                       }
+                           asset->format == FILE_FFMPEG ) h += 42;
                }
        }
        return h;