[vlc-devel] [PATCH 1/2] qml: Add combobox sizes
Pierre Lamot
pierre at videolabs.io
Mon Jul 29 17:33:27 CEST 2019
On 2019-07-29 12:54, Rohan Rajpal wrote:
> Add generic combobox sizes.
> ---
> modules/gui/qt/qml/style/VLCStyle.qml | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/modules/gui/qt/qml/style/VLCStyle.qml
> b/modules/gui/qt/qml/style/VLCStyle.qml
> index bf0ca04933..961ea6da39 100644
> --- a/modules/gui/qt/qml/style/VLCStyle.qml
> +++ b/modules/gui/qt/qml/style/VLCStyle.qml
> @@ -97,12 +97,23 @@ Item {
> property int widthSearchInput: 200 * scale;
> property int widthSortBox: 150 * scale;
> property int widthTeletext: 280 * scale;
> + property int widthAspectRatio: 100 * scale;
> + property int heightAspectRatio: 22 * scale;
those, doesn't seems to be used.
> property int heightInput: 22 * scale;
>
> property int selectedBorder: 2
>
> property int miniPlayerHeight: 60 * scale;
>
> + //combobox
> + property int combobox_width_small: 64 * scale
> + property int combobox_width_normal: 96 * scale
> + property int combobox_width_large: 128 * scale
> +
> + property int combobox_height_small: 16 * scale
> + property int combobox_height_normal: 24 * scale
> + property int combobox_height_large: 30 * scale
> +
> //timings
> property int delayToolTipAppear: 500;
> property int timingPlaylistClose: 1000;
More information about the vlc-devel
mailing list