microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.55k stars 899 forks source link

Width of database drop down #20106

Closed paweston70 closed 2 years ago

paweston70 commented 2 years ago

Issue Type: Bug

I realise this is a tiny thing, in the grand scheme of things, but would it be possible to make the database drop-down list either dynamic, based on the width of the current database or database list of names, OR make it a much wider fixed width (or a configurable fixed width)?

image

Azure Data Studio version: azuredatastudio 1.37.0 (d904740d93d7df76a0ba361f20e4351813b57645, 2022-06-14T01:05:12.352Z) OS version: Windows_NT x64 10.0.19044 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|31.81GB (16.61GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (10) Extension|Author (truncated)|Version ---|---|--- admin-pack|Mic|0.0.2 admin-tool-ext-win|Mic|0.0.4 agent|Mic|0.48.0 cms|Mic|0.8.0 dacpac|Mic|1.10.1 import|Mic|1.5.0 profiler|Mic|0.11.0 schema-compare|Mic|1.14.1 sql-database-projects|Mic|0.17.2 azdata-sanddance|msr|3.3.0 (1 theme extensions excluded)
alanrenmsft commented 2 years ago

@paweston70 if the current database name is truncated you can also find it in other places: image

At this point, we don't see a need to introduce a setting or dynamically change the width of it. but we can definitely revisit if this becomes a major complaint.