mac: fix some style inconsistencies in statusicon and eventlog
This commit is contained in:
parent
7bbc41a1a9
commit
9eadf9095c
|
@ -33,6 +33,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
private WebView web_view;
|
private WebView web_view;
|
||||||
private NSBox separator;
|
private NSBox separator;
|
||||||
|
private NSBox background;
|
||||||
private NSPopUpButton popup_button;
|
private NSPopUpButton popup_button;
|
||||||
private NSProgressIndicator progress_indicator;
|
private NSProgressIndicator progress_indicator;
|
||||||
private NSTextField size_label;
|
private NSTextField size_label;
|
||||||
|
@ -132,6 +133,12 @@ namespace SparkleShare {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
this.background = new NSBox (new RectangleF (0, -1, 481, 581)) {
|
||||||
|
FillColor = NSColor.White,
|
||||||
|
BoxType = NSBoxType.NSBoxCustom
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
this.progress_indicator = new NSProgressIndicator () {
|
this.progress_indicator = new NSProgressIndicator () {
|
||||||
Style = NSProgressIndicatorStyle.Spinning,
|
Style = NSProgressIndicatorStyle.Spinning,
|
||||||
Frame = new RectangleF (this.web_view.Frame.Width / 2 - 10,
|
Frame = new RectangleF (this.web_view.Frame.Width / 2 - 10,
|
||||||
|
@ -145,6 +152,7 @@ namespace SparkleShare {
|
||||||
ContentView.AddSubview (this.size_label_value);
|
ContentView.AddSubview (this.size_label_value);
|
||||||
ContentView.AddSubview (this.history_label);
|
ContentView.AddSubview (this.history_label);
|
||||||
ContentView.AddSubview (this.history_label_value);
|
ContentView.AddSubview (this.history_label_value);
|
||||||
|
ContentView.AddSubview (this.background);
|
||||||
ContentView.AddSubview (this.separator);
|
ContentView.AddSubview (this.separator);
|
||||||
ContentView.AddSubview (this.progress_indicator);
|
ContentView.AddSubview (this.progress_indicator);
|
||||||
ContentView.AddSubview (this.hidden_close_button);
|
ContentView.AddSubview (this.hidden_close_button);
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<RootNamespace>SparkleShare</RootNamespace>
|
<RootNamespace>SparkleShare</RootNamespace>
|
||||||
<AssemblyName>SparkleShare</AssemblyName>
|
<AssemblyName>SparkleShare</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
<ReleaseVersion>0.8.3</ReleaseVersion>
|
<ReleaseVersion>0.8.4</ReleaseVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
|
@ -16,6 +16,6 @@ Global
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(MonoDevelopProperties) = preSolution
|
GlobalSection(MonoDevelopProperties) = preSolution
|
||||||
StartupItem = SparkleShare.csproj
|
StartupItem = SparkleShare.csproj
|
||||||
version = 0.8.3
|
version = 0.8.4
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
|
@ -253,7 +253,6 @@ namespace SparkleShare {
|
||||||
|
|
||||||
|
|
||||||
Menu.AddItem (SyncMenuItem);
|
Menu.AddItem (SyncMenuItem);
|
||||||
Menu.AddItem (NSMenuItem.SeparatorItem);
|
|
||||||
|
|
||||||
RecentEventsMenuItem = new NSMenuItem () {
|
RecentEventsMenuItem = new NSMenuItem () {
|
||||||
Title = "View Recent Changes…",
|
Title = "View Recent Changes…",
|
||||||
|
@ -267,6 +266,7 @@ namespace SparkleShare {
|
||||||
}
|
}
|
||||||
|
|
||||||
Menu.AddItem (RecentEventsMenuItem);
|
Menu.AddItem (RecentEventsMenuItem);
|
||||||
|
Menu.AddItem (NSMenuItem.SeparatorItem);
|
||||||
|
|
||||||
NotificationsMenuItem = new NSMenuItem () {
|
NotificationsMenuItem = new NSMenuItem () {
|
||||||
Enabled = true
|
Enabled = true
|
||||||
|
|
Loading…
Reference in a new issue