CA-45514: XenCenter looks pretty terrible under different DPI settings

-Fixing code following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
Gabor Apati-Nagy 2015-04-14 19:26:49 +01:00
parent 54764570b1
commit c333c18f24
3 changed files with 2 additions and 10 deletions

View File

@ -201,6 +201,7 @@
this.buttonNotifySmall.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;
this.buttonNotifySmall.PairedItem = null;
this.buttonNotifySmall.UnreadEntries = 0;
this.buttonNotifySmall.Image = global::XenAdmin.Properties.Resources.notif_none_16;
//
// buttonSearchesSmall
//

View File

@ -408,15 +408,6 @@
<data name="toolStripSmall.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Bottom</value>
</data>
<data name="buttonNotifySmall.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACrSURBVDhPzZLRCcMgFEUzQkbpKN0iQsinICFikIgoGaYj
ZISM0BG6wa3CC0VqMH4UeuDw4L77/LI5w3u/r+uKOCkqE8o3a+3TOYeMr7inah5jzCM8gDPjnqp5lmVB
Sarm0VqjJFW/UUq1QVywpZOUaZruUkqUjD06SRnHcQvighudfBBC7EFUmP4NzjlqpdN/ZhiGOYg4Kaqj
73scUlRH13UzYwxxUvQLmuYNlyD+ZSeMMhsAAAAASUVORK5CYII=
</value>
</data>
<data name="buttonNotifySmall.ImageScaling" type="System.Windows.Forms.ToolStripItemImageScaling, System.Windows.Forms">
<value>None</value>
</data>

View File

@ -109,7 +109,7 @@ namespace XenAdmin.Wizards.NewNetworkWizard_Pages
string.Format(Messages.FEATURE_NOT_AVAILABLE_NEED_COWLEY_ENTERPRISE_OR_PLATINUM_PLURAL, Messages.CHINS) :
Messages.CHINS_NEED_VSWITCHCONTROLLER;
iconWarningChinOption.Enabled = labelWarningChinOption.Enabled = true;
iconWarningChinOption.Visible = labelWarningChinOption.Visible = true;
if (master.RestrictVLAN)
rbtnInternalNetwork.Checked = true;