Increased default cc width to 500
This commit is contained in:
@@ -425,7 +425,8 @@ namespace SwayNotificationCenter {
|
|||||||
* Set `fit_to_screen` to true to ignore the height setting.
|
* Set `fit_to_screen` to true to ignore the height setting.
|
||||||
*/
|
*/
|
||||||
private const int CONTROL_CENTER_MINIMUM_HEIGHT = 300;
|
private const int CONTROL_CENTER_MINIMUM_HEIGHT = 300;
|
||||||
private int _control_center_height = CONTROL_CENTER_MINIMUM_HEIGHT;
|
private const int CONTROL_CENTER_DEFAULT_HEIGHT = 300;
|
||||||
|
private int _control_center_height = CONTROL_CENTER_DEFAULT_HEIGHT;
|
||||||
public int control_center_height {
|
public int control_center_height {
|
||||||
get {
|
get {
|
||||||
return _control_center_height;
|
return _control_center_height;
|
||||||
@@ -440,7 +441,8 @@ namespace SwayNotificationCenter {
|
|||||||
* Notification center's width, in pixels.
|
* Notification center's width, in pixels.
|
||||||
*/
|
*/
|
||||||
private const int CONTROL_CENTER_MINIMUM_WIDTH = 300;
|
private const int CONTROL_CENTER_MINIMUM_WIDTH = 300;
|
||||||
private int _control_center_width = CONTROL_CENTER_MINIMUM_WIDTH;
|
private const int CONTROL_CENTER_DEFAULT_WIDTH = 500;
|
||||||
|
private int _control_center_width = CONTROL_CENTER_DEFAULT_WIDTH;
|
||||||
public int control_center_width {
|
public int control_center_width {
|
||||||
get {
|
get {
|
||||||
return _control_center_width;
|
return _control_center_width;
|
||||||
|
Reference in New Issue
Block a user